|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Julian Underwood wrote:
I have a Fedora box with two working NIC's:
DSL, static IP: (NIC 1) ip:168.101.199.6 nm:255.255.255.248 gw:168.101.199.5 dns:168.101.1.3, 168.101.1.9
LAN, has a sonicwall router to Cable modem: (NIC 2) ip:192.168.0.7 nm:255.255.255.0 gw:192.168.0.1 (currently NOT SET so at least the DSL NIC is functional) dns:not needed
With this setup, /nothing/ works. Can't ping anything, can't browse from the box locally, nothing. However if I remove the gateway on NIC 2 (192.168.0.1), then I can at least browse through NIC 1 and it can be pinged. However--the LAN interface is still useless, can't ping it.
The reverse works the same. Remove the GW on NIC 1 (168.101.199.5) and place it on NIC 2 (192.168.0.1) then I can browse through NIC 2 on the Cable modem side, but then the DSL NIC becomes useless (can't ping).
So I am asking, what is the trick to make BOTH interfaces work and if the server needs to go out onto the net, it will by default browse out on the DSL side of things? I would like to be able to manage the server and provide file services from the LAN side.
$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
168.101.199.6 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 168.100.199.5 0.0.0.0 UG 0 0 0 eth1
Again, I think this output is with my LAN NIC disabled, again: the LAN NIC doesn't have a gw because /nothing/ works when it is defined. Goal: be able to provide management and file services from the LAN NIC and still function with the DSL NIC.
Julian Underwood wrote:
Scroll down for the output of netstat -nr!
I have a Fedora box with two working NIC's:
DSL, static IP: (NIC 1) ip:168.101.199.6 nm:255.255.255.248 gw:168.101.199.5 dns:168.101.1.3, 168.101.1.9
LAN, has a sonicwall router to Cable modem: (NIC 2) ip:192.168.0.7 nm:255.255.255.0 gw:192.168.0.1 (currently NOT SET so at least the DSL NIC is functional) dns:not needed
With this setup, /nothing/ works. Can't ping anything, can't browse from the box locally, nothing. However if I remove the gateway on NIC 2 (192.168.0.1), then I can at least browse through NIC 1 and it can be pinged. However--the LAN interface is still useless, can't ping it.
The reverse works the same. Remove the GW on NIC 1 (168.101.199.5) and place it on NIC 2 (192.168.0.1) then I can browse through NIC 2 on the Cable modem side, but then the DSL NIC becomes useless (can't ping).
So I am asking, what is the trick to make BOTH interfaces work and if the server needs to go out onto the net, it will by default browse out on the DSL side of things? I would like to be able to manage the server and provide file services from the LAN side.
$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
168.101.199.6 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 168.100.199.5 0.0.0.0 UG 0 0 0 eth1
Again, I think this output is with my LAN NIC disabled, again: the LAN NIC doesn't have a gw because /nothing/ works when it is defined. Goal: be able to provide management and file services from the LAN NIC and still function with the DSL NIC.
I'm still a little confused. Is this right: You have a cable modem on the LAN for office internet access. You have a DSL connected to the server to provide a public web service.
The usual setup is
internet--->firewall--->LAN and servers, or
internet---->firewall--->LAN
|
|-->firewall---->DMZ-- ->serversSo your routing table might look about like this:
To temporarily fix the default route, try route del default route add default gw 168.100.199.5 netmask 255.255.255.248
[Home] [Current Fedora Users] [Fedora Legacy List] [Fedora Desktop] [Singles Community] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools] [Fedora Docs]