Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-13-2002, 06:53 AM   #1
LQ Newbie
Registered: Sep 2002
Posts: 14

Rep: Reputation: 0
Question routing issue

hi all,

plz guide me whether the following is possible or not:
we using a linux server with one LAN card on live(global) ip and second LAN card with IP and we do net sharing thru this server. In this case anyone who checks our IP, gets the live(global) IP of the server. we want to add more Live IP's to the same LAN card and then we want that people of 172.16.1.X segment to connect to internet with one Live IP, people with 172.16.2.X to connect to the internet with second Live IP and so on....

plz help me. its important for me.

Old 10-13-2002, 10:36 AM   #2
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
you can add ip aliases to a single lan card.

ifconfig lan0:0 <next-addy>
ifconfig lan0:1 <and so on>

then you need to do a

route -add network <syntax>

for each new ip you want to route over .

You will probably have to play a bit, but its possible.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Issue marc hall Linux - Networking 4 07-18-2004 10:59 AM
routing issue.. inode100 Linux - Networking 12 02-25-2004 03:52 PM
routing issue RyPingu Linux - Networking 1 08-15-2003 01:39 PM
again: routing issue! mule Linux - Networking 4 08-07-2003 08:43 AM
Routing Issue jrmann1999 Linux - Networking 1 01-15-2002 10:58 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration