IMPORTANT! Network is unreachable
Andrew Snow
andrew at modulus.org
Sat Aug 9 11:14:01 UTC 2008
Usually if there is more than IP in a given subnet on an interface, you
give it a /32 netmask. Only the first IP in a subnet should have the
full netmask.
So your example should look like this:
inet 10.11.16.14 netmask 0xffffff00 broadcast 10.11.16.255
inet 10.11.16.9 netmask 0xffffffff broadcast 10.11.16.9
KES wrote:
> # uname -a
> FreeBSD gorodok.kes.net.ua 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Sun Aug 3 13:18:21 EEST 2008 kes at gorodok.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386
> # netstat -nr
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Netif Expire
> default 10.11.16.1 UGS 0 3758 rl0
> 10.0.0.0/16 10.11.16.2 UG 0 150 rl0
> 10.11.15.0/24 link#2 UC 0 0 rl1
> 10.11.16.0/24 link#1 UC 0 0 rl0
> 10.11.16.1 00:e0:4c:59:50:7e UHLW 2 421 rl0 953
> 10.11.16.2 00:03:79:01:9b:d0 UHLW 2 0 rl0 786
> 127.0.0.1 127.0.0.1 UH 0 122 lo0
>
> Internet6:
> Destination Gateway Flags Netif Expire
> ::1 ::1 UHL lo0
> fe80::%lo0/64 fe80::1%lo0 U lo0
> fe80::1%lo0 link#4 UHL lo0
> ff01:4::/32 fe80::1%lo0 UC lo0
> ff02::%lo0/32 fe80::1%lo0 UC lo0
> # ifconfig rl0
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=8<VLAN_MTU>
> ether 00:0e:2e:db:4f:d4
> inet 10.11.16.14 netmask 0xffffff00 broadcast 10.11.16.255
> inet 10.11.16.9 netmask 0xffffff00 broadcast 10.11.16.255
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
More information about the freebsd-stable
mailing list