Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I use my remote Linux machine using VNC from my workPC. Recently one more NIC card was installed on that PC. But on reboot the IP address changes between ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    7

    Issue with mutiple NIC cards on reboot


    Hi,

    I use my remote Linux machine using VNC from my workPC.

    Recently one more NIC card was installed on that PC.
    But on reboot the IP address changes between two NIC's, and hence even ping fails.

    Hence i was forced to go to my remote PC to correctly assign the IP address to make it accessible.
    Please let me know any method to bind the IP address to particular NIC mac address.

    Thanks in advance

    Murugan

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    476
    > bind IP-addr to particular NIC (MAC addr)

    try this with your router: my Linksyswrt54g running dd-wrt micro
    has this capability--not with Linksys firmware
    the sun is new every day (heraclitus)

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,173
    Use a static IP address for the NIC you want to use for your home PC VNC access and set up the tunnel on your router to forward the VNC port(s) to that local IP address. Even between reboots, the device id (eth0 or eth1) should reference the same NIC. If that is changing, then you need to reconfigure the NIC's to use a specific device ID.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    I've had the same problem. With one NIC, it's name was eth0. But when I added another NIC, the new NIC was eth0 and the old one was eth1.

    You can do all kinds of things to remedy this, but I just adjusted my config files and was done. Theoretically, I think, swapping the cables is even faster and less error prone.
    Can't tell an OS by it's GUI

Posting Permissions

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