Download your favorite Linux distribution at LQ ISO.
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 11-27-2007, 11:26 AM   #1
LQ Newbie
Registered: Nov 2007
Location: New Jersey
Distribution: Red Hat EL 5, SLES 9, Centos 5
Posts: 7

Rep: Reputation: 0
Routing Virtual IP address

Hi everyone.

I have a RHEL 5 system with this configuration:



I remove the default gw for eth0:1 because I have problems when I mount anothe NFS file system belong to 192.168.0.x vlan.

my routing table showme something like this:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 eth0 UG 0 0 0 eth0

I know if I use route command I can routing, e g NFS that use 192.168.0.x IP to the and another services to 192,168.1.10.

How can I do this...
Old 11-27-2007, 04:09 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,623

Rep: Reputation: 208Reputation: 208Reputation: 208
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

eth0:0 and eth0:1 are two interfaces at relatively high level - everywhere below they're one. It produces problems from time to time, but I don;t think it's your case. The thing is that, when it comes to the gateway, there may be only one default gateway in one routing table. More are possible to enter, but it won't work as expected.

What are you trying to archive?
Old 11-29-2007, 10:39 AM   #3
LQ Newbie
Registered: Nov 2007
Location: New Jersey
Distribution: Red Hat EL 5, SLES 9, Centos 5
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Mara for move my question.

This server have 3 different names on DNS, the ETH0 is for Server communication ( NFS, syslog, etc) the ETH0:1 have another hosname on DNS, this is for Client communication (SAP) and ETH0:2 (another hostname for SAP messages).

This is the reason that I need routing through this virtual IPs.




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
how to find physical address of kernel virtual address kushneeraj Programming 0 10-20-2006 08:29 PM
API for mapping Physical Address to Virtual Address Lakshman_smt Linux - Software 2 10-15-2006 10:08 PM
Memory Mapping (same physical address = virtual address) Linux - Kernel 7 07-25-2006 12:13 AM
Routing in a Virtual Environment (Red Hat 9) rookiepaul Linux - Networking 11 03-17-2006 03:14 AM
Routing Between Virtual Interfaces on Web Server Louie55 Linux - Networking 2 02-20-2004 10:17 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:12 AM.

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