Date: Wed, 21 Nov 2007 12:44:16 -0200 From: "Alaor Barroso de Carvalho Neto" <alaorneto@gmail.com> To: "Steve Bertrand" <iaccounts@ibctech.ca> Cc: freebsd-questions@freebsd.org Subject: Re: routing problem Message-ID: <2949641c0711210644y3ffe8d19ub409b581971e2b1d@mail.gmail.com> In-Reply-To: <474440FC.5090901@ibctech.ca> References: <2949641c0711210609xc9fcb89t8217cd0995d1c86b@mail.gmail.com> <474440FC.5090901@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry my english skills, I'm brazilian and I'm not very familiar with the language, but I'm gonna try to explain it clearly: LINUX SERVER private network 192.168.1.1 external network x.x.x.x FREEBSD SERVER private network 192.168.1.240 external network x.x.x.x DNS SERVER private network 192.168.1.2 The LINUX machine is the network gateway, I want the FREEBSD to be the gateway, so I tested the freebsd machine configuring some clients manually to use the 192.168.1.240 as gateway, 3 machines, everything worked. So I thought: time to replace the linux server. So I turned off the linux machine and changed the ip of freebsd to 192.168.1.1, just it, and then it stop working, it can resolv dns for some seconds and then stop. Something I've noticed, when it's not the network gateway in fact, with just some machines using it as gateway, the return of netstat -r is ok, with the routes of the machines accessing it, the active conections, if I just change the ip and turn off the LINUX machine, the netstat -r return me no routes at all. Pretty strange. My nameserver is just searchdomain xxxx.xxxx.xxxx.xxxx nameserver 192.168.1.1 2007/11/21, Steve Bertrand <iaccounts@ibctech.ca>: > Alaor Barroso de Carvalho Neto wrote: > > If I turn off linux and set the rl0 to 192.168.1.1 it > > stop resolving names but can ping to anywhere. Help!!! > > in the rc.conf > > gateway_enable="YES" > > defaultrouter="X.X.X.X" > > I don't know if I quite understand on which machine things are breaking, > but if it is a FreeBSD box, can you post the output to: > > # cat /etc/resolv.conf > > ...and > > # dig @192.168.1.2 google.ca > > Steve >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2949641c0711210644y3ffe8d19ub409b581971e2b1d>