Virtual ethernet adapter
Dear all,
I have simple problem. I need to assign several (three actually) IP addresses to one physical ethernet adapter. Following options are not possible: * VLAN -- this is for network with IP convergence sublayer so no VLAN tags are possible for incoming packets. * Tunneling (like TUN/TAP or GRE): this must be supported on both sides, this is not acceptable solution for me since I cannot change the way how my ISP works. * Aliases: not useable because I need to assign IP dynamically, aliases have static IP assignment only, right? So, what would help me is a virtual ethernet driver that creates several eth devices in the system so that I can route/bridge between virtual and physical interfaces. Do you know about some solution? Another idea how to solve my problem? Many thanks in advance for any hint. -jn. |
Which distro are you using? Networking is one of the areas where there are significant differences between distros.
|
Oh yes, I forgot to mention it. This is embedded device so three's no specific distro (like Fedora or Debian), the kernel is 2.4.31. The "distro" is custom one.
|
These commands worked on Slackware
Code:
ifconfig eth0 add 10.0.0.41 An alternative approach may be to configure the physical NIC as a bridge and to tap into it with three virtual adapters, say eth0, 1 and 2. I did read "Tunneling (like TUN/TAP or GRE): this must be supported on both sides, this is not acceptable solution for me since I cannot change the way how my ISP works" but AIUI this technique is used when hosting virtual machines and, as far as the rest of the LAN is concerned, eth0, 1 and 2 don't function any differently from real NICs on the network. |
Quote:
|
All times are GMT -5. The time now is 12:47 AM. |