Re: Setting up a home gateway/router
Reco <recoverym4n@gmail.com> writes:
> On Sat, 24 May 2014 12:21:05 +0200
> csanyipal@gmail.com wrote:
>
>> Yes, I thought as much, but don't know which IP address to add as a
>> default gateway in my case?
>>
>> The command should look like this:
>> # route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0
>> ???????? ???????????
>>
>> but what IP address should I add into this command?
>
> As others wrote you, you need a default gateway.
> A static route for 10.0.0.0/8 network won't do you any good as your
> home router is unable to communicate with the outside world.
>
> Assuming that your 217.17.111.173/24 address on eth0 is correct, you
> probably need to set up default gateway as 217.17.111.1 (and you really
> should check it with your ISP, they are the only ones who know this).
I just mail to my ISP and admins will help me but only on monday. :(
> So, forget this 'route' stuff, just add 'gateway 217.17.111.1' to
> your /etc/network/interfaces, bounce eth0, see how it goes.
Well, I just tried that, but without success.
/etc/network/interfaces
-----------------------
auto eth0
iface eth0 inet static
address 217.17.111.173
netmask 255.255.255.0
gateway 217.17.111.1
# ifdown eth0
# ifup eth0
$ ping 8.8.8.8
I get the following output:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 217.17.111.173 icmp_seq=1 Destination Host Unreachable
Can I do anything to setup my home network or must to wait monday for
ISP's admins?
--
Regards, from Paul
Reply to: