View previous topic :: View next topic |
Author |
Message |
rakeshsr78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jul 2020 Posts: 3
|
Posted: Thu Jul 30, 2020 1:17 pm Post subject: How to configure two or more ethernet card . |
|
|
HI everyone [topic=][url][post=][bug=][code][list], I need your help on dual Ethernet configuration.
I have 2 lan card
1 - One I had configured for ssh access and other local acess. Intel 1 g card(eth3)
2 - for exchange Connectivity (eth0) solarfalre 40g card
Both Have different network and Ip .
Problem I am getting here If up both Ethernet. My eth3( local ) also disconnected. And If I down any eth0 again. My local network eth3 start again.
The steps I had followed here
I created symbolic link for both Ethernet Inside /etc/init.d/
Then I configured
/etc/conf.d/net
And update both network Ip and gateway everything need to start a connection.
So I stay down my eth0 my eth3 (local) work fine.
Last edited by rakeshsr78 on Thu Jul 30, 2020 3:39 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1795298829674c652a4ed66.gif)
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Thu Jul 30, 2020 1:50 pm Post subject: |
|
|
Welcome to Gentoo.
I guess traffic routing is required, e.g. using iptables or alike.
When required it's what I use at raw level, i.e. 100% manual config.
IIRC some applications integrate it at higher, i.e. easier, level.
Shorewall as a exemple; no experience thought.
Thls 4 ur attention, interest & support. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rakeshsr78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jul 2020 Posts: 3
|
Posted: Thu Jul 30, 2020 3:38 pm Post subject: |
|
|
So any link or eg : How to slove this issue |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anon-E-moose Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/3064969284ad468b81342a.jpg)
Joined: 23 May 2008 Posts: 6222 Location: Dallas area
|
Posted: Thu Jul 30, 2020 3:43 pm Post subject: |
|
|
what does "ip route" return? _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
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: 54848 Location: 56N 3W
|
Posted: Thu Jul 30, 2020 3:57 pm Post subject: |
|
|
rakeshsr78,
I guess you have two many default routes.
You can have more that one as long as they all have different metrics. The one with the lowest metric will be preferred. _________________ 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) |
rakeshsr78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jul 2020 Posts: 3
|
Posted: Fri Jul 31, 2020 2:55 am Post subject: |
|
|
ip route
default via 125.125.126.254 dev eth3 metric 6
125.125.126.0/24 dev eth3 proto kernel scope link src 125.125.126.30 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|