Announcement

Collapse
No announcement yet.

2 Nics, can only use one at a time.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: 2 Nics, can only use one at a time.

    Ok, let's have another stab at this.

    eth0 is your WAN link, right? With a public routable IP assigned by your ISP?

    eth1 is your LAN link, and all your LAN hosts are on the 192.168.1 subnet?

    You have /etc/iftab configured correctly, with the correct MACs, and use the same device names in /etc/network/options? You're asking for a bit of trouble by using the two of the same NICs- it saves some confusion if you use two different brands that use different drivers.

    If you bring down eth1 (ifdown eth1), do you have Internet access? If that's the case, try swapping the MACs in /etc/iftab, or better, swap out one of the NICs for a completely different one.

    There might be some graphical tools in KDE to make this a bit easier, but I don't know what they are. I'm hardcore on networking anyway- computer networking is not simple, and the last thing we need is more unskilled network admins gumming up the Internet.









    Comment


      #17
      Re: 2 Nics, can only use one at a time.

      Ok, here's some stats for you on your suggestion. I was using 2 linksys cards, so swapped one out with a dlink:

      iftab:
      # This file assigns persistent names to network interfaces.
      # See iftab(5) for syntax.

      eth0 mac 00:14:bf:58:lf:c4
      #eth1 mac 00:14:bf:58:lf:e5 (this is the other linksys that I removed, but still in iftab, so I commented it out)
      eth2 mac 00:11:95:62:02:94

      /etc/network/interfaces

      auto lo
      iface lo inet loopback
      address 127.0.0.1
      netmask 255.0.0.0

      auto eth0
      iface eth0 inet static
      address: 24.38.34.180
      netmask 255.255.255.248
      gateway 24.38.34.177

      # auto eth1
      # iface eth1 inet dhcp

      auto eth2
      iface eth2 inet static
      address 192.168.1.5
      netmask 255.255.255.0
      gateway 24.38.34.180

      # auto ath0
      # iface ath0 inet dhcp

      # auto wlan0
      # iface wlan0 inet dhcp

      I don't have any idea what ath0 is, it was uncommented, but I commented it out in the interfaces. I also don't have wlan0 either, so commented that out as well...

      In this configuration, I can ping .180, .5 and setting a laptop on .5 output, and configuring it to 192.168.1.6, I can ping both .5, and .180, and both can ping .6 So all can see each other, but I can't ping out to my gateway... I can ping other ips on the switch that eth0 is plugged into... Any ideas?

      I am fine in commandline btw, gui's are nice, but I would rather get down to it and get it working

      BTW, now, I can't get out even properly set to static. If I set DHCP on eth0, and disable eth2, I'm back up online...

      So far, frustration

      Comment


        #18
        Re: 2 Nics, can only use one at a time.

        I have a feeling I've narrowed down this issue. It looks like my wonderful ISP has decided to wipe (for the 4th time) my config file out of my modem, and thus have limited me to 2 static ips... Hence why my static settings aren't working. They've had to credit me for 4 months of service for issues already, guess it will be more now...

        Will let you know after I get that taken care of how things work. Appreciate your help Alrac

        Comment


          #19
          Re: 2 Nics, can only use one at a time.

          Your lan interface should not have a gateway configured, just its ip and netmask. After cussing your ISP and burning them in effigy, try deleting the gateway for eth2, reboot, and see what happens. Theoretically just bringing the interfaces up and down or restarting networking is enough, but in my experience rebooting is a sure thing.

          Comment


            #20
            Re: 2 Nics, can only use one at a time.

            I'll work on that, but I confirmed my lack of static addresses with other pc's. So it is my ISP, and I will try to only slightly yell at them...

            eth2 will have no gateway.

            I presume that you need to enable dhcp serving in kubuntu somewhere?

            Comment

            Working...
            X