Results 1 to 9 of 9
Hello. I have 2 internet connections from the one ISP - Wireless and Fiber-optic.
I have 2 NIC:
eth0: 192.168.1.2 (gw 192.168.1.1 (hardware router with WAN IP 212.12.12.4) , netmask ...
- 04-14-2009 #1
Problem with configure 2 NIC
Hello. I have 2 internet connections from the one ISP - Wireless and Fiber-optic.
I have 2 NIC:
eth0: 192.168.1.2 (gw 192.168.1.1 (hardware router with WAN IP 212.12.12.4) , netmask 255.255.255.0)
eth1: 212.12.12.5 netmask: 255.255.252.0 and Gateway 212.12.12.1
if eth1 is down , everything is ok - have ping and services (apache, smtp etc) is fine!
If up eth1 , have ping to eth0, have ping to eth1, but services don't work!
If check services from the same network on eth1 or eth0 , everything works!
The problem is how to setup route for everyone NIC ?
If incoming traffic from eth0 GW must be this on eth0
if incoming traffic from eth1 GW must be this for eth1
Thanks , and best regards!
- 04-14-2009 #2Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
You need to set the routing and gateway for each card in your network settings. Add the routing information for eth1.
(Not too familiar with RHat/Fedora, but they used to have an admin tool for setting up the network.)
You do realise, I hope, that unless eth1 has a firewall provided by your isp, it is an open connection.
- 04-14-2009 #3
I forget the OS is Fedora 8. Not found "yast" ?!
[root@mail ~]# yum install yast
Setting up Install Process
Parsing package install arguments
No package yast available.
Nothing to do
[root@mail ~]#
- 04-14-2009 #4Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Sorry, I thought it was suse. See amended reply above.
- 04-14-2009 #5
yes, from my ISP everything is open - not have firewall and etc.
I wanna set up this:
If incoming request from eth1 , using eth1 gateway.
If incoming request from eth0 , using eth0 gateway.
Any other ideas?
- 04-15-2009 #6
- 04-16-2009 #7Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
It depends on why you need both connections to your box. To get them both on the same box, set up the routing/gateways for each network card in the network setup.
- 04-16-2009 #8
- 04-16-2009 #9Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Yes, but if the wireless connection is just so that your own wireless devices can get access to the internal network, all you need is the fiber connection.
Or do you need to allow some users only wireless access with no internal network?
Have a search for general network routing and firewall principles and have a read. That way you can get a clearer idea of what you are wanting to achieve and the pitfalls involved.


Reply With Quote
