routing/name resolution problem

thorsten fly_a320 at gmx.de
Mon May 9 00:22:18 PDT 2005


Joel Miller wrote:
> thorsten wrote:
> 
>> Hello all,
>>
>> I have a lfs-router with two ethernet cards, which connects via pppoe 
>> on eth0 to my adsl provider. eth1 has 192.168.0.1/24, my private 
>> subnet. On the subnet is 192.168.0.3, named linux. Now the following 
>> problem arises and I have no clue what is wrong:
> 
> <snip all>
> 
> Ok, three things:
> 1) What is the contents of your /etc/hosts?
cat /etc/hosts
# Begin /etc/hosts
127.0.0.1                      localhost
192.168.0.3 linux.thorsten.de  linux
192.168.0.2 laptop.thorsten.de laptop
192.168.0.1 server.thorsten.de server
# End /etc/hosts

> 2) What is the contents of your /etc/resolv.conf before connecting to 
> the adsl?
> 3) What is the contents of your /etc/resolv.conf after connecting to the 
> adsl?
cat /etc/resolv.conf
nameserver 195.20.224.234
nameserver 194.25.2.129

adsl-start
  Connected!

cat /etc/resolv.conf
nameserver 195.20.224.234
nameserver 194.25.2.129



More information about the lfs-support mailing list