Re: Intranet plus cable connection.
From: Oliver O'Boyle (o.oboyle_at_celerica.ca)
Date: 02/03/04
- Next message: Nicola Gatti: "forwarding outgoing packets"
- Previous message: jack: "Re: Route tables"
- In reply to: John Culleton: "Re: Intranet plus cable connection."
- Next in thread: John Culleton: "Re: Intranet plus cable connection."
- Reply: John Culleton: "Re: Intranet plus cable connection."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 3 Feb 2004 13:16:01 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> > on linux, enable forwarding (routing) between interfaces,
there are probably 3 ways, one of which is the GUI (linuxconf
depending on what distro you are using, or otherwise whatever network
control panel GUI tool is available to you) tool that changes the
file(s) used in the other two ways.
the second way (though i've just been told that this way is
deprecated in favour of the third way) is to change the
/etc/sysconfig/network file so that the line Forward_IPV4=yes is
in it.
And if you look up what this does, all it does is stick a 1 in
/proc/sys/net/ipv4/ip_forward, which is the third way. (there may be
another way as well depending on the distro and release you have but
one of these should do it for you).
> > ifconfig 192.168.0.1 netmask 255.255.255.0
>
> I suspect I would need to specify the inner card by addiing (in my
> case) eth0 to the command. (eth1 is already taken for the internet
> connection.) Am I right?
>
yes, sorry I wasn't clear on that.
> > and configure your w98 interface with an ip address of
> > 192.168.0.2 subnet mask 255.255.255.0 and with a gateway of
> > 192.168.0.1. it can use the DNS servers from your ISP.
>
> Again, which command should I use?
> >
go to your control panel and double click on the Networks icon. it
will present you with all the adapters and modems in your w98
machine. locate your ethernet card's TCP/IP entry and configure it.
you only need to enter the ip address/mask, and maybe DNS servers if
you want. don't bother with the other stuff. you can check the status
of your card with the winipcfg command (make sure the card is in the
drop down box to get the correct info).
> > ping each computer from the other to ensure IP connectivity.
> > then, from w98, ping a server (using IP address) on the internet
> > that you know isn't quenching ICMP echo's. if this works, ping
> > same server using DNS name (host.domain.com). if these work, you
> > are good to go.
>
> Will do after the above is straightened out.
>
> Thanks!
>
np, good luck.
oliver
> John C.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQB/lX7coUT0UavXJEQI8QwCfaw1AgWBZOlTPLKNhXAI2M6VEKfgAoIR8
OVNlNsvAecpo2oLHYnzBbULi
=i5pV
-----END PGP SIGNATURE-----
- Next message: Nicola Gatti: "forwarding outgoing packets"
- Previous message: jack: "Re: Route tables"
- In reply to: John Culleton: "Re: Intranet plus cable connection."
- Next in thread: John Culleton: "Re: Intranet plus cable connection."
- Reply: John Culleton: "Re: Intranet plus cable connection."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|