[plug] Query about gateway computer settings
Bret Busby
bret.busby at gmail.com
Fri Mar 25 02:44:21 WST 2011
On 25/03/2011, Peter <demo9 at gswd.com> wrote:
> On 24/03/11 22:52, Bret Busby wrote:
>> ------- snip ---------
>> Okay.
>>
>> My /etc/network/interfaces files are below.
>>
>> .......
>>
>> Workstation
>>
>> :~$ cat /etc/network/interfaces
>> # This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> allow-hotplug eth0
>> iface eth0 inet static
>> address 192.168.2.95
>> netmask 255.255.255.0
>> network 192.168.2.0
>> broadcast 192.168.2.255
>> gateway 192.168.2.1
>> # dns-* options are implemented by the resolvconf package, if installed
>> dns-nameservers 192.168.2.1 192.168.2.11
>> dns-search busby.net
>>
>> auto eth0
>> ................
>>
>> Gateway Computer
>>
>>
>> :~# cat /etc/network/interfaces
>> # This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> iface eth0 inet static
>> address 192.168.2.1
>> netmask 255.255.255.0
>> gateway 10.1.1.2
>>
>
> Is this a typo? "gateway 10.1.1.2" ???
>
> P.
Not a typo.
I think that, when I retrieved the information, and posted it, that
was the value that was set, and it was subsequently changed to
10.1.1.3 .
But, even with it being 10.1.1.3, I can still ping 192.168.2.1, and
10.1.1.3, but I cannot ping 10.1.1.1, and I cannot go past 10.1.1.3,
all from my workstation at 192.168.2.95 .
>
>
>> auto eth0
>>
>> iface eth1 inet static
>> address 10.1.1.3
>> netmask 255.255.255.0
>> gateway 10.1.1.1
>>
>> auto eth1
>>
>> ...............
>>
>> The LAN NIC on the gateway computer, is 192.168.2.1
>>
>> The NIC that interfaces to the ADSL modem is 10.1.1.3
>>
>> The ADSL modem (the same for each modem) is 10.1.1.1
>>
>> So, what do I need to change?
>>
>> Thank you in anticipation.
>>
>
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
More information about the plug
mailing list