нет, адрес сети и бродкаст нельзя назначить
Можно. Но не нужно.
(config-if)#ip address 192.168.2.255 255.255.255.0 Bad mask /24 for address 192.168.2.255
root@Gate ~ # ip a show dev test 9: test@veth0: <NO-CARRIER,BROADCAST,MULTICAST,UP,M-DOWN> mtu 1500 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000 link/ether c6:ad:be:79:1c:59 brd ff:ff:ff:ff:ff:ff inet 10.255.255.255/16 scope global test valid_lft forever preferred_lft forever root@Gate ~ # ping -c 2 10.255.255.255 PING 10.255.255.255 (10.255.255.255) 56(84) bytes of data. 64 bytes from 10.255.255.255: icmp_seq=1 ttl=64 time=0.255 ms 64 bytes from 10.255.255.255: icmp_seq=2 ttl=64 time=0.263 ms --- 10.255.255.255 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1020ms rtt min/avg/max/mdev = 0.255/0.259/0.263/0.004 ms root@Gate ~ #
Обсуждают сегодня