Re: Setting up a home gateway/router
Ron Leach <ronleach@tesco.net> writes:
> On 23/05/2014 16:52, csanyipal@gmail.com wrote:
>> csanyipal@gmail.com writes:
>>
>>> So I tried with this setup:
>>> iface eth0 inet static
>>> address 217.17.111.173
>>> netmask 255.255.255.0
>>
>> but it doesn't work.
>>
>> Say, the output of the command 'ping gnu.org' is:
>> ping: unknown host gnu.org
>>
>>>>> My ISP
>>>>> |
>>>>> --- eth0 ( GW ) --- eth1
>>>>> |
>>>>> LAN
>>>>>
>>
>> The LAN part of my home network works, I have setup a DHCPD server for
>> eth1 interface. I can connect from LAN to my GW with SSH client.
>>
>
> That reply is reporting a DNS failure - its causes could be
> various. Is basic connectivity working, at all, beyond the GW? Here's
> how to find out.
>
> I suggest, instead, that you try:
>
> ping 8.8.8.8
>
> which is Google's DNS service machine.
>
> Report back if you can ping. Include reports back when trying from
> (a) the GW device, and
> (b) a LAN device
When ping 8.8.8.8 from:
a) GW device
connect: Network is unreachable
b) LAN device
ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 192.168.10.1 icmp_seq=1 Destination Net Unreachable
>From 192.168.10.1 icmp_seq=2 Destination Net Unreachable
>From 192.168.10.1 icmp_seq=3 Destination Net Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1998ms
less /etc/resolv.conf
nameserver 91.102.231.242
nameserver 91.102.231.241
--
Regards, from Paul
Reply to: