LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2004, 07:37 AM   #1
silver2003
LQ Newbie
 
Registered: Apr 2004
Location: Romania
Distribution: RedHat 7.3
Posts: 28

Rep: Reputation: 15
Question Virtual network address


I have search and i didn't find nothing about how to use more public ip's whit just one network card. Because i have a server and i have 5 computers and 5 public ip's and i want my 5 computers to go into the internet with diffrent public ip.

Thank you for your time.
 
Old 05-31-2004, 11:17 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
ifconfig eth0:0 y.y.y.y netmask x.x.x.x
ifconfig eth0:1 y.y.y.z netmask x.x.x.x
...
 
Old 05-31-2004, 01:39 PM   #3
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Re: Virtual network address

Quote:
Originally posted by silver2003
I have search and i didn't find nothing about how to use more public ip's whit just one network card. Because i have a server and i have 5 computers and 5 public ip's and i want my 5 computers to go into the internet with diffrent public ip.

Thank you for your time.
Sorry to be slow here...

Max gave you the right way to get more than on ip (private or/and public) but you description of what you want is not reealy clear... 5 computers, 5 public ips but you what them to go out on internet with different IPs from THE SAME GATEWAY... Right ?? So if that's right, you will have to manage hosts based routing ont the gateway to do that...

i.e.

route add -net 192.168.0.1 netmask 255.255.255.255 gw 64.14.1.1
route add -net 192.168.0.2 netmask 255.255.255.255 gw 64.14.1.3
route add -net 192.168.0.3 netmask 255.255.255.255 gw 64.14.1.2

or someting similar....
 
  


Reply


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
API for mapping Physical Address to Virtual Address Lakshman_smt Linux - Software 2 10-15-2006 09:08 PM
Increasing virtual address space mhl Linux - Newbie 1 09-07-2005 10:29 AM
How to make Virtual IP address permenant with every reboot-------------- pal Linux - Newbie 2 06-10-2005 01:34 AM
Network Browsing and Virtual IP address jarmstrong Linux - Networking 5 02-17-2003 08:09 AM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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