[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up a home gateway/router



 Hi.

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).

So, forget this 'route' stuff, just add 'gateway 217.17.111.1' to
your /etc/network/interfaces, bounce eth0, see how it goes.

Given you're using C-class network, you have just 255 possible values
for the default gateway :)

Reco


Reply to: