• Advertisements

Assigning two IP addresses to one ethernet card in Linux

This post has been moved here:


4 Responses

  1. Hi Sanix,

    Your trick worked in Fedora 7 – however, what I needed to do is one extra step.

    After modifying the file eth0:0 in directory “/etc/sysconfig/network-scripts” I found that I could not PING with both the interfaces from another XP computer on my LAN.

    What I did is went to NETWORK GUI under ADMINISTRATION and ACTIVATE each interface individually – even though it shows as ALREADY ACTIVATED.

    Then it works great !!!


  2. Actually, I know this topic is old but came across it in a search.. so I thought I would throw out my way of doing it:

    vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0

    Add the following:


    So, this will tell linux to bind all Ip addresses starting at to it’s a much easier way.

  3. thank you so much gdahl .. I will try out your way too.. it looks so interesting..

  4. i face a prolem to configure the suinterface.everytime i restart network services it inactiva tha subinterface.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: