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

Re: [Sheflug] Re: Network Goes on Holiday



On Fri, Jun 23, 2000 at 11:49:31AM +0100, Richard wrote:
> Dear All
> 
> I don't really understand this ??  Why am I being asked to put the
> same address into the SuSE box as is already in the Debian box. 
> Surely this will clash on the network ?

	I can't remember the original post, but the idea is that you
route through the debian box (192.168.1.0, I think). If you have another
address in your suse box (you can have as many as you like), you can
then put that address on the same subnet your debian box is, and use
that interface to route the traffice from your Suse subnet to the debian
subnet.
	
> I've done as you said and netstat -r produces........
> 
> result of netstat -r.....
> 
> SuSE box
> 
> Kernel IP routing table
> Destination Gateway   Genmask     Flags MSS Window irtt Iface
> bolehill.bolehi - 255.255.255.255  !H    - -        -    -
> 192.247.47.47 *   255.255.255.255  UH    - -        0    ippp0
> 192.168.0.0   *   255.255.255.0    U     0 0        0    eth0
> 192.168.1.0   *   255.255.255.0    U     0 0        0    eth0
> 192.168.1.0   *   255.255.255.0    U     0 0        0    eth0
> loopback      *   255.255.255.0    U     0 0        0    lo
> loopback      *   255.0.0.0        U     0 0        0    lo

	This could do with a bit of cleaning up, really :)

> on the Debian box......
> 
> Destination    Gateway   Genmask     Flags  MSS Window   irtt Iface
> 192.168.1.0    *      255.255.255.0  U       0   0        0    eth0
> 192.247.0.0    *      255.255.0.0    U       0   0        0    ippp0
> 127.0.0.0      *      255.0.0.0      U       0   0        0    lo
> 
> So, I now have three eth0 addresses on the SuSE box.  What's the point
> of that ??  Surely it can't work that way ???????

	No, you can have as many as you like. 
> It *MUST_BE* that I don't need to put the same address into the SuSE
> box for the same eth0 card ?????????????

	No, not the same address, but an address in the same subnet that
the debian box has. ifconfig is what configures the interface's address,
route is the command that adds routing tables. So you're putting a
gateway in your routing table which is your debian box.

	Check you got all the stuff Chris suggested in the right order.

	José



-- 
José L Gómez Dans			PhD student
					Radar & Communications Group
					Department of Electronic Engineering
					University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.