1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[WRT54GS & Thibor15c] Multiple MAC Address for one unique IP

Discussion in 'HyperWRT Firmware' started by CDuv, Nov 10, 2007.

  1. CDuv

    CDuv LI Guru Member


    I own a Linksys WRT54GS for 18 months now and need help to resolve a litte problem.

    First, useful informations:
    Router Linksys WRT54GS v1 (Serial Number starting by "CGN1")
    Firmware: v4.71.1, Hyperwrt 2.1b1 + Thibor15c

    My problem is:
    I have a laptop which can be plugged into network in three different ways :
    [*]By wire, using the integrated NIC (3Com 3C920)
    [*]By wire, using the dock station (a Dell C/Port II) (also a 3Com 3C920)
    [*]Wireless, using a Sagem 802.11g PCMCIA card
    Of course each network adapter has is own MAC adress.
    I would like whatever medium I use to plug my laptop, he allways get the same IP adress.

    I'm using DHCP service (via the WRT54GS) and has severals static entries (Static DHCP) for all my computer to allways get the same IP (it also create FQDN, which is great for a home router).

    So I tried to set the following static DHCP table :
    MAC Address       IP Address       Domain Name
    ¯¯¯¯¯¯¯¯¯¯¯       ¯¯¯¯¯¯¯¯¯¯       ¯¯¯¯¯¯¯¯¯¯¯
    MacI          laptop.home.local
    MacD          laptop.home.local
    MacW          laptop.home.local
            *   router.home.local
    (where MacI is the integrated NIC's MAC address, MacD dock's one and MacW the one of the Sagem wireless card)

    But once validated, I have the following symptoms:
    Both WRT54G DNS and DHCP services seems down (connected computer can't use router to resolve names and newly connecting computer receives no answers to their DHCP Discover).

    Is there a solution to my problem?

    Note: DNSMasq is set to active.

    (Please, excuse my english, it's not my native language)
  2. CDuv

    CDuv LI Guru Member

    Does giving all NIC the same MAC address is the only solution?
  3. mstombs

    mstombs Network Guru Member

    I can see a problem if the lease on the first MAC/IP address has not expired - or the arp table hasn't had time to flush - basic networking does not work if multiple MAC addresses have the same IP address. Have you tried releasing the client dhcp lease and waiting at least 5 mins before switching connection medium?
  4. RonWessels

    RonWessels Network Guru Member

    Try leaving the hostname field blank.

Share This Page