Osamu Aoki wrote:
On Wed, Feb 05, 2003 at 03:56:57PM +0100, Attila Csosz wrote:Thanks.
I try to set up adsl sharing on two computer but I have problems.This does not make sense. I you are using one card port to do 2
The situation:
adsl --->A(connected to adsl) ------ B(internal machine)
I do the followings:
on machine A have the followings:
------------------------------------
1) /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0 eth1
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
address, read about IP ALIASING. eth0:1 etc.
I do ont undersytand why you put both in same netweork segment?
Usually we use separate ones.
See my example at:
http://www.debian.org/doc/manuals/reference/ch-gateway.en.html
Maybe I should modify the eth0 section address, netmask etc?
address 10.0.0.1
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.0.0.255
Will be good?
Attila
--
ICQ - [ # 173551800 ]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]