Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2011 11:21:11 -0600
From:      james@colannino.org
To:        freebsd-questions@freebsd.org
Subject:   Re: Static IP on a Bridge
Message-ID:  <20111229112111.1079640ol70p51u0@gator1823.hostgator.com>
In-Reply-To: <4EFC2405.4080103@infracaninophile.co.uk>
References:  <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Matthew Seaman <m.seaman@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111229112111.1079640ol70p51u0>