Skip to main content

IP Addressing

More
16 years 4 months ago #25915 by universalCitizen
Hi,
Can Anybody tell me
the difference between the ip on the physical interface(eth0)
and the ip configured on the logical interface(eth0:1).

Regards
More
16 years 4 months ago #25916 by Elohim
Replied by Elohim on topic Re: IP Addressing
Usually, ip addresses assigned to logical interfaces such as eth0:1 are used in IPMP (IP Multi-path) configurations (equivalent to VRRP or HSRP), dot1q encapsulation on a router interface for vlan routing (router on a stick),

Hi,
Can Anybody tell me
the difference between the ip on the physical interface(eth0)
and the ip configured on the logical interface(eth0:1).

Regards

More
16 years 4 months ago #25945 by Chris
Replied by Chris on topic Re: IP Addressing
Adding to Elohim's reply, the IP address on the physical interface (eth0) is always the first ip address assigned to the specific interface. When you require more IP addresses assigned to the same interface, this is usually done via the logical interfaces eth0:1, eth0:2 e.t.c.

In Windows XP, you simply go to the tcp/ip properties of the LAN interface and under the advanced section, you add multiple IP Addresses to the same lan card. In Linux, you can use the following command:

ifconfig eth0:1 192.168.5.1 255.255.255.0

Hope that helps,

Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
Time to create page: 0.123 seconds