-
Using 2 IP addresses
Hello, I am at work.
We have migrated to a new system, Web.
and we would like to start using linux, (cheaper in some point)
however I have a little difficulty.
Our network has been done by a weird person, so now each computer need to have 2 IP addresses so a UNISYS computer can provide the service. One IP for LAN and another for internet (WAN).
OK, now I need to set the two IP addresses on one NIC interface to be able to access all resourses.
how can I set it. The network configuration wizard knopix or auditor show me just let me add one IP address.
Obviously I need to add it using code, however; how.
-
Administrator
Site Admin-
Re: Using 2 IP addresses

Originally Posted by
Grendal1982
Our network has been done by a weird person,
You are trying to make things very difficult; I doubt that you are going to get a quick fix the way the problem is stated.
What was your old system and how exactly did the weird person manage to get it to use 2 IP addresses for one NIC? And how does the NIC decide which IP address to use for any packet?
Of course, you may manage to get software to dynamically change the IP address depending on what the user is doing; but that's not going to work well if there are incoming requests on the network when the card is in the other mode (but since the card is really addresses by it's unique MAC address there may be a way to make it work).
I would seriously consider fixing what the weird person has done. An alternate and inexpensive solution might be to add a secod NIC to the systems, each NIC can have it's own setting.
-
Senior Member
registered user
The ifconfig command is what you need. It is also know as IP aliasing. You may have to edit the /etc/network/interfaces file.
http://www.faqs.org/docs/Linux-mini/IP-Alias.html
http://gentoo-wiki.com/HOWTO_IP_Aliasing
-
Senior Member
registered user
Similar Threads
-
By Levi32 in forum Networking
Replies: 2
Last Post: 03-30-2007, 09:33 PM
-
By master_b in forum Networking
Replies: 0
Last Post: 05-26-2004, 05:09 AM
-
By mabhatter in forum Ideas
Replies: 7
Last Post: 04-13-2003, 09:05 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST 10TB Ultrastar SATA 6Gb 256MB 3.5" Enterprise HDD 0f27452 HUH73101ALE600
$170.00

5x HGST Ultrastar 4TB SAS 12Gb/s 7200RPM 3.5" HDD HUS726040AL5214 4Kn
$199.00

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$49.00

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR
$24.99

Seagate Exos ST10000NM002C 10TB CMR 7200RPM SATA6Gb/s 3.5" Enterprise Hard Drive
$279.99

1 - Seagate Barracuda 1.5TB 7200RPM 3.5" (ST31500341AS) HDD Wiped/Tested
$25.00

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$29.99