Gateway/Router
Anton Bester
extech at dod.co.za
Fri Nov 19 07:09:39 GMT 2004
>Did you defined a default gateway on your router box?
rc.conf entries:
defaultrouter="196.25.53.65"
gateway_enable="YES"
router_enable="YES"
router="/sbin/routed"
router_flags="-q"
>What is the result of "netstat -r"
[root at gateway extech]# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 196.25.53.65 UGSc 0 0 ed0
localhost localhost UH 0 0 lo0
192.168.1 link#1 UC 1 0 rl0
192.168.1.2 00:08:a1:1b:3e:2f UHLW 1 2 rl0 828
196.25.53.64/29 link#2 UC 3 0 ed0
196.25.53.65 link#2 UHLW 1 0 ed0
ns 00:d0:b7:0b:f6:0c UHLW 1 38 ed0 648
196.25.53.69 00:0d:87:81:f4:da UHLW 1 137 ed0 1190
Internet6:
Destination Gateway Flags Netif Expire
localhost localhost UH lo0
fe80::%rl0 link#1 UC rl0
fe80::210:b5ff:feb 00:10:b5:be:74:c6 UHL lo0
fe80::%ed0 link#2 UC ed0
fe80::2c0:dfff:fea 00:c0:df:a3:05:4d UHL lo0
fe80::%lo0 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#4 UHL lo0
ff01:: localhost U lo0
ff02::%rl0 link#1 UC rl0
ff02::%ed0 link#2 UC ed0
ff02::%lo0 localhost UC lo0
[root at gateway extech]#
Regards
More information about the freebsd-net
mailing list