[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Network Goes on Holiday
They're still both on different networks (192.168.0.0/24 [SuSE] and
192.168.1.0/24 [Debian])...you either need to reconfig the Suse box so its
network is 192.168.1.0/24 or the Debian so its 192.168.0.0/24, or change the
netmask to 255.255.0.0 (there are other legal values but that'd involve be
sitting down and working them out).
See my previous post on the subject - I'd only end up repeating myself here :)
But to sum up:
- 192.168.0.0/24 (which is the SuSE network) means the network
runs from 192.168.0.0 to 192.168.0.255
- 192.168.1.0/24 (the Debian network) means the network runs from
192.168.1.0 to 192.168.1.255
- Machines on seperate networks cannot talk to each other
- In order to route between two networks, one physical host needs
two network devices - one configured for one network, the
other configured to talk to the second.
- Hosts with a single network device cannot route to another
network.
However, try this on the SuSE box:
$ ifconfig eth0:1 192.168.1.254 netmask 255.255.255.0
$ route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
Then see if you can ping the Debian box. What this will do (on the assumption
that IP aliasing is enabled in the kernel) is give your network card a second
IP address on the 192.168.1.0/24 network, enabling you to route to it.
Caveat: make sure 192.168.1.254 isn't in use elsewhere on the network -- if
so, pick another IP :)
Chris...
--
@}-,'-------------------------------------------------- Chris Johnson --'-{ [at]
/ "(it is) crucial that we learn the difference / sixie [at] nccnet.co.uk \
/ between Sex and Gender. Therein lies the key / \
/ to our freedom" -- LB / www.nccnet.co.uk/~sixie \
---------------------------------------------------------------------
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.