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



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 herehttp://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.
--


Sorry, it does not works.

I guess It can be solved this way: create virutal interfaces (like
vmware does) with different mac addresses, and then route (maybe with
proxy arp) packets to eth or loopback interface... But how ?

.



Relevant Pages

  • Re: Problems with Internet / Netgear router on SBS 2003
    ... Your SBS network has a 'lan' side; your SBS should be the DHCP server for ... The router also has a 'lan' side, and it's on the same addressing as your ... You can elect to turn on the DHPC server for your router; ... Even without DHCP turned on at the router, you can still connect there, you ...
    (microsoft.public.windows.server.sbs)
  • Re: ISA Server & a WiFi Hotspot (some DHCP for good measure too)
    ... have the LAN side of the wireless router be in the 10.0.0.x ... your SBS has two nics - its WAN nic is using 10.0.0.2 ... The SBS handles DHCP for the ... The SBS firewall not only keeps the wireless clients ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN vs. VLAN
    ... Yea I didn't want to get into semantic wars about what a "VLAN" is; ... listening in on the same network as the LAN router's DHCP daemon). ... The LAN Router between the IP Segments needs to be configured to forward ... DHCP Queries to the DHCP Server. ...
    (microsoft.public.win2000.networking)
  • [SLE] Re: SOLVED: [SLE] DHCP failure
    ... I'm running a 3-subnet LAN from a SUSE 9.3 box, and until yesterday I had a functioning LAN with a manually built dhcpd.conf file. ... Then I saved off that file and used YaST to poke around in the dhcp server section and the NIC section. ...
    (SuSE)
  • Re: DHCP issues (solved!)
    ... with the internal LAN (connectivity was lost & I had to input fixed IP's to ... however on switching the policy off the LAN Clients suddenly have DHCP ... on the bottom it shows "Server Local Area Connection". ...
    (microsoft.public.windows.server.sbs)