Re: How can ethernet card get multiple IP from DHCP server ?



mojomad@xxxxxxxxx said:
I've got linux 2.6 router with 2 ethernet cards. eth0 is connected to
internet provider that assigns IP numer from DHCP server, eth1 is
connected to LAN.

I would like my linux server to get couple external IPs. So Eth0 shoud
have multiple MAC addresses. How can it be done ?

Seems like solvation is described here http://en.wikipedia.org/wiki/Proxy_ARP
(Taking multiple addresses from a LAN), but can anyone give me live
example ?

You don't even need proxy arp; you need DHCP client that:
- can attach to virtual interfaces (eth0:1, ...)
- supports user-assignable DHCP client-id

.... I've written about this a few times earlier; do a google groups
search with my address and dhcp, and you should find something.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
.



Relevant Pages

  • Client wants server to register the A and PTR resource records
    ... To negotiate the dynamic update process, the DHCP client sends its FQDN to ... the DHCP server in the DHCPREQUEST packet by using the FQDN option. ... Client wants to register the A resource record and requests that the ...
    (microsoft.public.windows.server.dns)
  • Re: Router incompatibility with Vista
    ... DHCP is still useful. ... My LAN uses all static addresses, ... I use reservations on the DHCP server for devices that I want to have ... I assume you are using NAT, since you mention port forwarding. ...
    (uk.telecom.broadband)
  • Re: Understanding the impact of a DHCP server outage
    ... At 50% of the lease time the DHCP client attempts to renew its lease from the DHCP server that it leased the address from via unicast. ... If this is not successful the DHCP client waits until 87.5% of the lease time has expired and then re-attempts to renew it address, again via unicast to the DHCP server. ...
    (microsoft.public.windows.server.networking)
  • Re: Understanding the impact of a DHCP server outage
    ... At 50% of the lease time the DHCP client attempts to renew its lease from ... from any DHCP server via the standard broadcast method. ...
    (microsoft.public.windows.server.networking)
  • Re: problem getting freebsd to connect to network
    ... > set up as a DHCP server, and my computers are DHCP enabled. ... By "modem" I am guessing that you mean some kind of cable or DSL router? ... Try enabling maximum debugging in your DHCP client. ... I'm guessing that the DHCP server is doing something non-standard, ...
    (comp.os.linux.networking)