[olug] Networking problems
Brian Wiese
bwiese at cotse.com
Sat Feb 23 15:40:38 UTC 2002
On Sat, 23 Feb 2002 16:22:57 -0600
"Don E. Kauffman" <dkauffman at tconl.com> wrote:
|On Saturday 23 February 2002 06:25 am, you wrote:
|
|Thank you Brian & Phil for your help on this.
|
|I can now ping the ip's associated with the nics that are directly hooked
up
|with each other via the crossover cable. However, I can't get any
further
|than that and I think if I've got everything set up right thatI shoulc be
|able to ping anywhere on the network (at least my home) from the M$ box.
It
|won't find the IP associated with eth0 or the isp's default Gateway Ip .
|Soooooooo I've got more head scratching to and research to do I think.
This
|is not a simple process and I know networking. enough to be dangerous to
me.
|and mime.
|
|Don
==================================================================
|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>
WINDOWS BOX
just manually configure the settings in the network properties.
IP= 192.168.3.2 NETMASK= 255.255.255.0 GATEWAY= 192.168.3.1
make sure the settings take, restart the computer or whatever if it says.
;)
then run (windowskey+r) 'winipcfg' to make sure those are the settings.
Your windows box now knows how to get to your linux box, and your linux
box knows how to get to the net, thats all we need. Try to ping some ip
address or load a webpage by ip address, try 63.90.24.11 and see if you
get a response, you should. :)
2nd - get the dns setup
On your linux box check out the contents of the /etc/resolv.conf file, in
there it should list your nameservers/dns servers. When you want to
connect to a computer by name rather than by IP address, your computer
asks these computers what IP address it is they should go to. So, going
back into windows, manually assign the primary and secondary DNS servers
(and reboot) hehe. :)
after the reboot, you should be able to load www.olug.org from your
windows box, and ping that domain name and everything. let me know if you
encounter any problems.
-----------
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
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list