[olug] Networking problems
Don E. Kauffman
dkauffman at tconl.com
Sun Feb 24 03:01:26 UTC 2002
On Saturday 23 February 2002 09:40 am, you wrote:
> On Sat, 23 Feb 2002 16:22:57 -0600
> ==================================================================
>
> |10.200.6.223 kauffman2443.tconl.com kauffman2443 # eth0
> |192.168.3.1 dkauffman # eth1
> |192.168.3.2 dekauff # windows box
>
> So this is one Linux box (127.0.0.1, 10.200.6.223=eth0, 192.168.3.1=eth1)
> and one Windows box (192.168.3.2). ?
> ====================================================================
>
> I think you've prob just got some routing issues to solve, usu not too
> hard, as long as you keep it simple. ;) So, the Linux box can load
> webpages and everything just fine correct?
>
> That means this linux box has an IP address and route to the ISP (which is
> on the same network and within the netmask). Now your private network is
> 192.168.3.XXX with netmask 255.255.255.0 , so you want to make sure the
> network cards on the private network have an IP in the 192.168.3.1-254
> range and their netmask is 255.255.255.0 (so that they know to only talk
> to computers in that range), and their default gateway should be the IP
> address of eth1 (the private network card on the linux box).
>
> 1st - get the neworking setup
> the commands to know are: "route" and "ifconfig"
>
> so checking your settings, you should have the following:
> LINUX BOX
> (ifconfig -a)
> eth0 ip= 10.200.6.223 netmask= ??<ISP netmask>??
> eth1 ip= 192.168.3.1 netmask= 255.255.255.0
> (route -n)
> Destination Gateway Genmask Iface
> 0.0.0.0 <ISP gw> <ISP netmask> eth0
> 192.168.3.0 0.0.0.0 255.255.255.0 eth1
>
> (if not, do the following) on the linux box:
> # ifconfig eth1 192.168.3.1 netmask 255.255.255.0
> # ifconfig eth0 10.200.6.223 netmask <ISP netmask>
> # route add default gw <ISP gw>
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.200.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.200.0.1 0.0.0.0 UG 0 0 0 eth0
This is what it looks like now. I can't figure out how to get the 0.0.0.0
IP to have the ISP's Mask.
I had everything set up on the windows box including dns except that I had
two IPs for the gateway instead of one. I removed the one for the ISP and
kept the one that referred to the eth1.
We are making prorress. I can ping eth0 from the windows box. However,
anything outside that is not accessible. including www.olug .org. Would this
be caused by not having the correct mask on the line below?
0.0.0.0 10.200.0.1 0.0.0.0 UG 0 0 0 eth0
If so, then how do I go about resolving this?
Thanks for your patience!
Don Kauffman
> -----------
> Brian Wiese
> -----------
> bwiese at cotse.net
> "FREEDOM!" - Braveheart
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
>
> For help contact olug-help at bstc.net - run by ezmlm
> to unsubscribe, send mail to olug-unsubscribe at bstc.net
> or `mail olug-unsubscribe at bstc.net < /dev/null`
> (c)2001 OLUG http://www.olug.org
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list