Static IP on a Bridge
james at colannino.org
james at colannino.org
Thu Dec 29 17:21:12 UTC 2011
Quoting Matthew Seaman <m.seaman at infracaninophile.co.uk>:
> What's the error message you see when you fail to ping out?
ping: cannot resolve google.com: Host name lookup failure
> What does the routing table (netstat -r) look like before and after DHCP?
Before DHCP:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
localhost link#11 UH 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
:: localhost UGRS lo0
localhost localhost UH lo0
::ffff:0.0.0.0 localhost UGRS lo0
fe80:: localhost UGRS lo0
fe80::%re0 link#5 U re0
fe80::6ef0:49ff:fe link#5 UHS lo0
fe80::%lo0 link#11 U lo0
fe80::1%lo0 link#11 UHS lo0
fe80::%tap0 link#13 U tap0
fe80::2bd:8aff:fe3 link#13 UHS lo0
fe80::%tap1 link#14 U tap1
fe80::2bd:8dff:fe3 link#14 UHS lo0
ff01::%re0 fe80::6ef0:49ff:fe U re0
ff01::%lo0 localhost U lo0
ff01::%tap0 fe80::2bd:8aff:fe3 U tap0
ff01::%tap1 fe80::2bd:8dff:fe3 U tap1
ff02:: localhost UGRS lo0
ff02::%re0 fe80::6ef0:49ff:fe U re0
ff02::%lo0 localhost U lo0
ff02::%tap0 fe80::2bd:8aff:fe3 U tap0
ff02::%tap1 fe80::2bd:8dff:fe3 U tap1
After DHCP:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 0 bridge
localhost link#11 UH 0 0 lo0
192.168.1.0 link#12 U 0 1 bridge
192.168.1.103 link#12 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
:: localhost UGRS lo0
localhost localhost UH lo0
::ffff:0.0.0.0 localhost UGRS lo0
fe80:: localhost UGRS lo0
fe80::%re0 link#5 U re0
fe80::6ef0:49ff:fe link#5 UHS lo0
fe80::%lo0 link#11 U lo0
fe80::1%lo0 link#11 UHS lo0
fe80::%tap0 link#13 U tap0
fe80::2bd:8aff:fe3 link#13 UHS lo0
fe80::%tap1 link#14 U tap1
fe80::2bd:8dff:fe3 link#14 UHS lo0
ff01::%re0 fe80::6ef0:49ff:fe U re0
ff01::%lo0 localhost U lo0
ff01::%tap0 fe80::2bd:8aff:fe3 U tap0
ff01::%tap1 fe80::2bd:8dff:fe3 U tap1
ff02:: localhost UGRS lo0
ff02::%re0 fe80::6ef0:49ff:fe U re0
ff02::%lo0 localhost U lo0
ff02::%tap0 fe80::2bd:8aff:fe3 U tap0
ff02::%tap1 fe80::2bd:8dff:fe3 U tap1
> What does your arp table look like (arp -a) before and after DHCP?
Before DHCP:
(nothing was printed to the screen)
After DHCP:
? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190
seconds [bridge]
? (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge]
I can see that something is definitely not right. Not sure how to fix
/etc/rc.conf so that it will be setup correctly, though. Thank you
for the help!
James
More information about the freebsd-questions
mailing list