Chad Vogelsong on 14 Dec 2006 19:43:03 -0000 |
Unplug the eth0 cables and "ifconfig eth0 down". Edit the hosts file and remove (or comment out) entries relating to the other computer. If both your computers are plugged into the router (multiple ports available), then by asking your linux machine where the other computer is "ping other-machine", it should find it. Make sure eth1 is the default route. "route" - to see the table "man route" - to see how to modify the table if needed Try to ping the IP address of the windows computer, then the hostname if that succeeds. I don't know why you would want to have the 2 NIC's and the separate cable to connect them, when they can go through the switch in your router. Chad >I've asked this question before, but didn't get an answer I could understand. > >Maybe I was asking wrong. > >I want to reconfigure a LAN that consists of 2 computers, one Linux and one >win2k. > >Right now, each computer has 2 NICs. One NIC in each is connected to a DSL >router, and the other is connected to a LAN hub. Works fine, but I think >there is a bottleneck with the old hub. > >Presently, eth1 (and its corollary on the win2k machine) is used with the DSL > >router and gets its addressing from the router's DHCP server. Eth0 is used >for the LAN via the hub and its addressing is done with an /etc/hosts file >(and a hosts file on the windows machine as well). > >My DSL router also functions as a LAN hub. Accessing its web-based >configuration, I can see that it is assigning LAN IP addresses via its DHCP >server to each client properly. > >My problem is getting my clients set up to use eth1 and the assigned IPs >instead of eth0 and the static IPs for peer to peer LAN connections. > >Any help will be appreciated. > > >-- > >_____________________________________________________________ >Art Alexion > >PGP fingerprint: 52A4 B10C AA73 096F A661 92D2 3B65 8EAC ACC5 BA7A >Keyserver: hkp://subkeys.pgp.net >The attachment - signature.asc - is my electronic signature; no need for >alarm. Info @ >http://mysite.verizon.net/art.alexion/encryption/signature.asc.what.html >_____________________________________________________________ > >___________________________________________________________________________ >Philadelphia Linux Users Group -- http://www.phillylinux.org >Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce >General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|