No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-How to Configure Two IP Addresses in One Network Adapter

Publication Date:  2012-07-24 Views:  109 Downloads:  0

Issue Description

Q:
How to configure 2 IP addresses in one network adapter?

Alarm Information

Null

Handling Process

A:
1. Type the IP address to be added into /etc/hosts, for example:
 vi /etc/hosts
192.168.1.1 <tab> hostnameA
10.10.10.1 <tab> hostnameB
2. Two IP addresses are added to one network adapter, so:
vi /etc/hostname.eri0
hostnameA
vi /etc/hostname.eri0:1
hostnameB
3.
vi /etc/netmasks
192.168.1.0 255.255.255.0  (as required)
10.10.0.0 255.255.0.0  (as required)
5.  sync;sync;sync;reboot
6.  #ifconfig -a  Confirm.

Root Cause

Null

Suggestions

Null

END