Hamish Moffatt writes
> On Sat, May 09, 1998 at 12:04:25PM +0100, Ian Lynagh wrote:
> > In article <[EMAIL PROTECTED]>, Ian Lynagh
> > <[EMAIL PROTECTED]> writes
> > >
> > >Once I install Debian I hope to set my laptop up so that the network
                                            ^^^^^^
> > >card has IP 192.168.37.mumble, mask 255.255.255.0. It will also connect
> > >to the 'net via the modem.
> > >
> > >However, if I take it to a friends LAN which uses IPs 1.0.x.y then will
> > >I need to change anything? What's the best way of doing this?
> > 
> > Something I probably should have mentioned, I don't want my IP address
> > to change. I want to be able to ping the 1.0.x.y addresses from my
> > 192.168.37.mumble address and vica versa.
> 
> In /etc/init.d/network, add a route to 1.0.x.y on your ethernet with no
> gateway. Something like
> 
> route add -net 1.0.x.0 netmask 255.255.255.0 eth0
> 
> should probably do it. Your friend will need to do the same on all his
> hosts, or at least on his gateway, if he has one.

If the laptop uses a PCMCIA network card, /etc/init.d/network should 
only contain entries for local loopback. The real work is done in
/etc/pcmcia/network.opts . You can have different setups using different
schemes, see section 5.2 of the PCMCIA-HOWTO for details.


Dave Thayer
Denver, Colorado USA
[EMAIL PROTECTED] [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to