Re: Setting up a home gateway/router
Mike McGinn <mikemcginn@mcginnweb.net> writes:
> Comments below
> On Friday, May 23, 2014 11:52:43 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.
> I built a gateway / router / vpn / firewall at work using Debian Squeeze. The
> first thing I noticed is that you did not define a gateway for eth0. That
> could be your problem. This is normally defined for you by the dhcp server, so
> you would have not needed it before, but you probably need it now.
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?
--
Regards, from Paul
Reply to: