-
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
Vintage Apple Monochrome Green Phosphor Monitor A2M2010 Bright Screen 825-0560-B
$99.96
Vintage Apple Macintosh 512K / Mouse, Keyboard & Extras + Carry Case / Turns On
$260.00
VINTAGE APPLE MODEM 300 A9M0300 WITH BOX AND DISK - NEVER USED FACTORY SEAL
$40.00
Vintage Apple A2M2010 Monitor II, Green Phosper CRT
$99.99
Vintage Apple Wrench Tool - Black
$8.99
Apple Mouse II Vintage Desktop Apple II Untested Serial M0100: Original Box
$99.99
Apple ProFile A9M0005 5mb Vintage Hard Disk for Apple II, III, or Lisa
$325.00
Vintage Apple Macintosh IIGS A2S6000 needs power supply recapped
$150.00
Vintage Apple IIe Computer A2S2128 (825-1351-A)
$174.99
Vintage Apple Computer Orange Foam Mouse Pad Circular Think Different Era
$19.95