View previous topic :: View next topic |
Author |
Message |
ursusca Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1569736924ac13a57d1fea.jpg)
Joined: 10 Sep 2008 Posts: 284 Location: Toronto ON, CANADA
|
Posted: Thu Dec 25, 2008 7:10 pm Post subject: Setup 2 ethernet interfaces with different IP addresses |
|
|
Hi all!
I have 2 ethernet cards and I want to configure it with different IP addresses in the same subnet of a class C.
How can I do it correctly? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Dec 25, 2008 7:57 pm Post subject: |
|
|
Hi, I think that you need to configure it inside /etc/conf.d/net |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54850 Location: 56N 3W
|
Posted: Thu Dec 25, 2008 8:02 pm Post subject: |
|
|
ursusca,
The short answer is that its not useful to do that because only the first interface will be used.
What problem are you trying to solve? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ursusca Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1569736924ac13a57d1fea.jpg)
Joined: 10 Sep 2008 Posts: 284 Location: Toronto ON, CANADA
|
Posted: Thu Dec 25, 2008 10:01 pm Post subject: |
|
|
NeddySeagoon wrote: | ursusca,
The short answer is that its not useful to do that because only the first interface will be used.
What problem are you trying to solve? |
Hi NeddySeagoon, honestly I am trying to configure 2 ethernet interfaces with different IP addresses in the same subnet of a class C on my Red Hat 4 AS server. I want to use one interface for Oracle listener and other interface for NFS and copy backups but I can't understand how it's working because when I down one of interfaces I can ping both.
It's interesting for me how it's working on my favorite Gentoo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54850 Location: 56N 3W
|
Posted: Fri Dec 26, 2008 12:25 am Post subject: |
|
|
ursusca,
Look in your the output of route to see whats happening.
Routing rules are applied in the order they appear in the routing table. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ursusca Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1569736924ac13a57d1fea.jpg)
Joined: 10 Sep 2008 Posts: 284 Location: Toronto ON, CANADA
|
Posted: Fri Dec 26, 2008 7:52 am Post subject: |
|
|
NeddySeagoon wrote: | ursusca,
Look in your the output of route to see whats happening.
Routing rules are applied in the order they appear in the routing table. |
Thank`s NeddySeagoon, I`ve understood. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|