Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2011 22:47:59 -0800
From:      Benjamin Lee <ben@b1c1l1.com>
To:        james@colannino.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Static IP on a Bridge
Message-ID:  <4EFD5E9F.3040205@b1c1l1.com>
In-Reply-To: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com>
References:  <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 12/29/2011 09:21 AM, james@colannino.org wrote:
> 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

It seems that you are currently receiving your resolver from DHCP as
well, you should statically configure that in /etc/resolv.conf:

nameserver 192.168.1.1

>> 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
[...]

What happens if you run 'route add default 192.168.1.1' instead of DHCP?

What is the output of '/etc/rc.d/routing restart'?


-- 
Benjamin Lee
http://www.b1c1l1.com/


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO/V6oAAoJEAzughVKX1dUwIIQAMxS+ZHkFel6rndo4RoiGkHw
OgyhPn3HewpLaSoZWqcRq8tu15vz2FdLHUgRybAnAGNDIWn92/SytfP9L0XeJWC9
reV50XgqZywKRx3mUpv5pYEptOBhew0gN0qLrMkZ6ccJKZMVG6IsFVM34Zl8jF67
zoMjRcx4fHcrg9L8R0E0ta7DNkyxh+iN//LEIDeSf+X6nMbAruwj2zOhe5R2htdc
Ju6xdduMGfJN2JCoRfVJQvOfdiVca5L/2JrV3h3na4oOpiKqjfL0cASbAdfL2Ucj
2srSgfEjC/7hHhjsK5aQsdPJAiSFfhHa640tWax3K9UVTn96qXN4KmMoTslQ2/y+
sSwvEnTDiMRTusixaswJQoatYNyH/HG6fzaurmmdMwzLEQtQA0cn12H4BF8golln
ItpiI2ibZTQoaR6e2olMEfmWFcdMWZJvdTFSB3l2hKjkXalO9e+LQA5WDiOGo/UC
pMpGSBWBwcTH9Eee+vL9uXaCqSV6IeeRwdoC6zLA843VY3aelNvCOG/lZqW4dwJh
YHKjdi5qjeoJr0TYuw5kXBkyXo2Y86JLG+47DyAJMvw/thohpVNcBrZ49Btww3TL
pBCvWOAlipY3jWQ2pLwFxXR06sKcz0n1rLKgtlU9Bsh3KMozBv7rdcAG5ICxL8oD
R+4ON3/ch9/iRRKtu0fy
=NzVV
-----END PGP SIGNATURE-----

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