Results 1 to 5 of 5

Thread: Direct Ethernet connection, Suse to windoz windows xp

  1. #1

    Default Direct Ethernet connection, Suse to windoz windows xp

    Hi,
    I am on a sloooow 10/100 ethernet network, but I have a Suse 10.3 server and a win XP box within 6 feet of each other, each with a spare gigabit ethernet port. I plugged one into the other without a hub/switch and got bidirectional pings so they seem to be auto-sensing the send and receive lines. The motherboards are both Asus to simplify things.

    How do I setup the routing tables to tell Gozilla (xp) to use the Nvidia port to talk to Raptor (Suse) and tell Suse to do similarly? I have Samba on Suse and can see/copy through windoz file explorer. I am OK with using sftp by IP address if necessary if Samba can't use this direct, short circuit.

    On Suse, I have tried:
    route add 192.168.0.3 eth2
    192.168.0.3 is assigned to the extra gigabyte port connected to xp.
    It makes windows loose all network connectivity (can't find google.com). But, I can ping each machine from the other (Am I halfway there???). Egad! I can't ping Google from Suse either <:-o

    If I unplug the ethernet between the machines, xp works perfectly, but suse can't find google.com. `ifdown eth2` fixes suse. Samba still works showing suse from xp with the ethernet plugged into both machines. You would expect that with one interface disconnected and one hot to the internet that suse would pick the right one without having to shut the dead one off with ifdown?

    Cbin>route add 192.168.0.5 mask 255.255.255.255 192.168.0.3 IF 2
    gives no error message and shows up in the `route print`, but still locks up all internet connectivity.

    I have my firewalls set to "internal zone" on eth2 on Suse and "intranet, 192.168.0.1 - 192.168.0.22, range, trunted" in ZoneAlarm on xp. Ping works too so I don't think it's the firewall.

    I know that asking windoz questions on a Suse forum is not the best form, but it's much better than asking a Suse question on a windoz forum (if you had all microsoft, you wouldn't have this compatibility problem!!!).

    I have 3 TB of junk to backup.

    raptor:~ # ifconfig (eth0 -> suse cable modem router, eth2 -> xp)
    eth0 Link encap:Ethernet HWaddr 00:15:F2:99:F7:6B
    inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
    eth2 Link encap:Ethernet HWaddr 00:0F:3D:F3:81:8C
    inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0

    Cbin>ipconfig
    Ethernet adapter nvidia:
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 192.168.0.3
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    Ethernet adapter marvel.gigabit:
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 192.168.0.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1

    raptor:~ # route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    link-local * 255.255.0.0 U 0 0 0 eth0
    loopback * 255.0.0.0 U 0 0 0 lo
    default vulcan 0.0.0.0 UG 0 0 0 eth0
    raptor:~ # ifup eth2
    eth2 device: D-Link System Inc Gigabit Ethernet Adapter (rev 11)
    raptor:~ # route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.3 * 255.255.255.255 UH 0 0 0 eth2
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth2
    link-local * 255.255.0.0 U 0 0 0 eth0
    loopback * 255.0.0.0 U 0 0 0 lo
    default vulcan 0.0.0.0 UG 0 0 0 eth2
    << IFup changed my default route to Vulcan, my cable modem IP Masq router?>>

    Cbin>route print
    ===========================================================================
    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 15 f2 2a 7c 90 ...... NVIDIA nForce Networking Controller
    0x10004 ...00 15 f2 2a 87 78 ...... Marvell Yukon 88E8001/8003/8010 PCI Gigabit
    Ethernet Controller
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.2 10
    0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.3 10
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2 10
    192.168.0.0 255.255.255.0 192.168.0.3 192.168.0.3 10
    192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.0.3 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.0.5 255.255.255.255 192.168.0.3 192.168.0.3 1
    192.168.0.255 255.255.255.255 192.168.0.2 192.168.0.2 10
    192.168.0.255 255.255.255.255 192.168.0.3 192.168.0.3 10
    224.0.0.0 240.0.0.0 192.168.0.2 192.168.0.2 10
    224.0.0.0 240.0.0.0 192.168.0.3 192.168.0.3 10
    255.255.255.255 255.255.255.255 192.168.0.2 192.168.0.2 1
    255.255.255.255 255.255.255.255 192.168.0.3 192.168.0.3 1
    Default Gateway: 192.168.0.1
    ===========================================================================
    Persistent Routes:
    None


    Thanks,

    BrianP

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Direct Ethernet connection, Suse to windoz windows xp

    I tried to analyse the matrix but got confused , so a few questions:
    Which machine/s is/are connected to the internet directly and via what device (router, phone modem, DSL, cable modem)?
    Does one machine connect to the internet through the other using ICS? And if yes then which way round are they?
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  3. #3
    ab@novell.com NNTP User

    Default Re: Direct Ethernet connection, Suse to windoz windows xp

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I would start by making sure that the network for my regular LAN
    connection was completely different from the private network that was
    essentially the crossover cable. I can't tell if you have done that
    but, if not, setup 10.x.x.x or another 192.168.x.x network specifically
    for this so you don't get any confusion with 192.168.0.* going through
    ethN while 192.168.0.3 goes through ethN+1.

    Good luck.





    brianpbarnes wrote:
    | Hi,
    | I am on a sloooow 10/100 ethernet network, but I have a Suse 10.3
    | server and a win XP box within 6 feet of each other, each with a spare
    | gigabit ethernet port. I plugged one into the other without a
    | hub/switch and got bidirectional pings so they seem to be auto-sensing
    | the send and receive lines. The motherboards are both Asus to simplify
    | things.
    |
    | How do I setup the routing tables to tell Gozilla (xp) to use the
    | Nvidia port to talk to Raptor (Suse) and tell Suse to do similarly? I
    | have Samba on Suse and can see/copy through windoz file explorer. I am
    | OK with using sftp by IP address if necessary if Samba can't use this
    | direct, short circuit.
    |
    | On Suse, I have tried:
    | route add 192.168.0.3 eth2
    | 192.168.0.3 is assigned to the extra gigabyte port connected to xp.
    | It makes windows loose all network connectivity (can't find
    | google.com). But, I can ping each machine from the other (Am I halfway
    | there???). Egad! I can't ping Google from Suse either <:-o
    |
    | If I unplug the ethernet between the machines, xp works perfectly, but
    | suse can't find google.com. `ifdown eth2` fixes suse. Samba still
    | works showing suse from xp with the ethernet plugged into both
    | machines. You would expect that with one interface disconnected and one
    | hot to the internet that suse would pick the right one without having to
    | shut the dead one off with ifdown?
    |
    | Cbin>route add 192.168.0.5 mask 255.255.255.255 192.168.0.3 IF 2
    | gives no error message and shows up in the `route print`, but still
    | locks up all internet connectivity.
    |
    | I have my firewalls set to "internal zone" on eth2 on Suse and
    | "intranet, 192.168.0.1 - 192.168.0.22, range, trunted" in ZoneAlarm on
    | xp. Ping works too so I don't think it's the firewall.
    |
    | I know that asking windoz questions on a Suse forum is not the best
    | form, but it's much better than asking a Suse question on a windoz
    | forum (if you had all microsoft, you wouldn't have this compatibility
    | problem!!!).
    |
    | I have 3 TB of junk to backup.
    |
    | raptor:~ # ifconfig (eth0 -> suse cable modem router, eth2 -> xp)
    | eth0 Link encap:Ethernet HWaddr 00:15:F2:99:F7:6B
    | inet addr:192.168.0.4 Bcast:192.168.0.255
    | Mask:255.255.255.0
    | eth2 Link encap:Ethernet HWaddr 00:0F:3D:F3:81:8C
    | inet addr:192.168.0.5 Bcast:192.168.0.255
    | Mask:255.255.255.0
    |
    | Cbin>ipconfig
    | Ethernet adapter nvidia:
    | Connection-specific DNS Suffix . :
    | IP Address. . . . . . . . . . . . : 192.168.0.3
    | Subnet Mask . . . . . . . . . . . : 255.255.255.0
    | Default Gateway . . . . . . . . . : 192.168.0.1
    | Ethernet adapter marvel.gigabit:
    | Connection-specific DNS Suffix . :
    | IP Address. . . . . . . . . . . . : 192.168.0.2
    | Subnet Mask . . . . . . . . . . . : 255.255.255.0
    | Default Gateway . . . . . . . . . : 192.168.0.1
    |
    | raptor:~ # route
    | Kernel IP routing table
    | Destination Gateway Genmask Flags Metric Ref Use
    | Iface
    | 192.168.0.0 * 255.255.255.0 U 0 0 0
    | eth0
    | link-local * 255.255.0.0 U 0 0 0
    | eth0
    | loopback * 255.0.0.0 U 0 0 0
    | lo
    | default vulcan 0.0.0.0 UG 0 0 0
    | eth0
    | raptor:~ # ifup eth2
    | eth2 device: D-Link System Inc Gigabit Ethernet Adapter (rev
    | 11)
    | raptor:~ # route
    | Kernel IP routing table
    | Destination Gateway Genmask Flags Metric Ref Use
    | Iface
    | 192.168.0.3 * 255.255.255.255 UH 0 0 0
    | eth2
    | 192.168.0.0 * 255.255.255.0 U 0 0 0
    | eth0
    | 192.168.0.0 * 255.255.255.0 U 0 0 0
    | eth2
    | link-local * 255.255.0.0 U 0 0 0
    | eth0
    | loopback * 255.0.0.0 U 0 0 0
    | lo
    | default vulcan 0.0.0.0 UG 0 0 0
    | eth2
    | << IFup changed my default route to Vulcan, my cable modem IP Masq
    | router?>>
    |
    | Cbin>route print
    |
    ===========================================================================
    | Interface List
    | 0x1 ........................... MS TCP Loopback interface
    | 0x2 ...00 15 f2 2a 7c 90 ...... NVIDIA nForce Networking Controller
    | 0x10004 ...00 15 f2 2a 87 78 ...... Marvell Yukon 88E8001/8003/8010 PCI
    | Gigabit
    | Ethernet Controller
    |
    ===========================================================================
    |
    ===========================================================================
    | Active Routes:
    | Network Destination Netmask Gateway Interface
    | Metric
    | 0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.2
    | 10
    | 0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.3
    | 10
    | 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
    | 1
    | 192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2
    | 10
    | 192.168.0.0 255.255.255.0 192.168.0.3 192.168.0.3
    | 10
    | 192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1
    | 10
    | 192.168.0.3 255.255.255.255 127.0.0.1 127.0.0.1
    | 10
    | 192.168.0.5 255.255.255.255 192.168.0.3 192.168.0.3
    | 1
    | 192.168.0.255 255.255.255.255 192.168.0.2 192.168.0.2
    | 10
    | 192.168.0.255 255.255.255.255 192.168.0.3 192.168.0.3
    | 10
    | 224.0.0.0 240.0.0.0 192.168.0.2 192.168.0.2
    | 10
    | 224.0.0.0 240.0.0.0 192.168.0.3 192.168.0.3
    | 10
    | 255.255.255.255 255.255.255.255 192.168.0.2 192.168.0.2
    | 1
    | 255.255.255.255 255.255.255.255 192.168.0.3 192.168.0.3
    | 1
    | Default Gateway: 192.168.0.1
    |
    ===========================================================================
    | Persistent Routes:
    | None
    |
    |
    | Thanks,
    |
    | BrianP
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIWYTe3s42bA80+9kRAn6YAJ9L0UyiCvufWqFBQsCXno7pv6uhkwCdFRMn
    boJv+rH/Vryr5gNgbiGEcMY=
    =XDwP
    -----END PGP SIGNATURE-----

  4. #4

    Default Re: Direct Ethernet connection, Suse to windoz windows xp

    Quote Originally Posted by swerdna View Post
    I tried to analyse the matrix but got confused , so a few questions:
    Which machine/s is/are connected to the internet directly and via what device (router, phone modem, DSL, cable modem)?
    Does one machine connect to the internet through the other using ICS? And if yes then which way round are they?
    Vulcan, 192.168.0.1, is a Suse 10.3 server with one card going to the cable modem and the other going to the hub. It's the brains of the network and uses IP masquerading to serve Godzilla and Raptor.

    Godzilla, my xp Photoshop workstation, has 192.168.0.2 going through a slow hub to Vulcan to the internet. .3 is the spare port.

    Raptor, my Suse workstation, has 192.168.0.4 going through the hub to Vulcan and to the internet. .5 is the spare port.

    I use the local subnet 192.168.0.* for everything.

    If they return pings to each other, does that mean that they agreed on the send and receive lines?

    I have the spare ethernet ports, .3 on XP and .5 on the Suse workstation directly connected with a short cat V cable.

  5. #5
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Direct Ethernet connection, Suse to windoz windows xp

    As I understand it, you can't have two cards in the same machine using the same subnet. That looks to be the root of your problem.

    For Raptor, the IP on the card going to the cable modem should be different from the IP on the card going to the hub. Like 10.0.0.x. Then the hub-connections can be like 192.168.0.y. And that's the three computers all hooked up.

    Does that make sense and is it possible for you to change the link to the cable modem to something other than 192.168.0.x (like 10.0.0.x) or alternatively leave that one alone and change the hub-connected subnet to, say, 10.0.0.y
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •