"Hi community.
Like the look of the new site dev guys.... will take me some getting used to though! As I might have all ready posted this somewhere in the forum's all ready. Sorry if i have but its a no show if I click "show my posts" option. "
I have a ClearOS gateway with multiple NIC's set-up for multiple LAN's. I have provided a brief description of the layout below.
ClearOS Gateway
LAN1 in LAN mode
192.168.15.1
255.255.255.0
I use LAN1 for the local network, no restrictions just a simple LAN for all my home devices.
LAN2 in LAN mode
10.15.0.1
255.255.255.240
Will become a DMS once I switch ISP in September. For now I will more than likely change to HOTLAN mode at a later date, as will be used for internet facing services E.g game servers
I have an ubuntu 14 server also with multiple NIC's and this is where the problem starts
NIC1 connected to LAN1
Static config
192.168.15.254
255.255.255.0
NIC2 connected to LAN2
Static config
10.15.0.2
255.255.255.240
Now onto the problem.
If I have just one NIC configured say NIC2 I am able to ping it using my windows machine connected to LAN1 and am able to access the services on it say game servers.
If I then enable both NIC's in the ubuntu server I can no longer ping NIC2 but I can ping NIC1.
When I connect my laptop to LAN2 the same is ture for that network. I can ping NIC2 but not NIC1, and If just NIC1 is connected I can ping NIC1.
I then connected my laptop to both networks and this showed the same result.
Windows machine could only ping the laptops conection to LAN1 and the ubuntu machine which at this time only had NIC2 configured could only ping the laptop on its LAN2 connection.
When both NIC's are configured on the ubuntu server I can no longer access its services via LAN2, however they are still available to the internet and systems connected to LAN2 only.
I think this might be a routing issue and have found lots of info regarding setting routes too and from certain networks, and default NIC's for said network traffic. Of witch I have tried many and none have made any change to the behaviour of he network.
So far these routes have only been applied to the ubuntu server machine but I'm not sure that’s where the problem is.
If any one cloud point me in the right direction, or shed some light on this I'd be grateful l.
Like the look of the new site dev guys.... will take me some getting used to though! As I might have all ready posted this somewhere in the forum's all ready. Sorry if i have but its a no show if I click "show my posts" option. "
I have a ClearOS gateway with multiple NIC's set-up for multiple LAN's. I have provided a brief description of the layout below.
ClearOS Gateway
LAN1 in LAN mode
192.168.15.1
255.255.255.0
I use LAN1 for the local network, no restrictions just a simple LAN for all my home devices.
LAN2 in LAN mode
10.15.0.1
255.255.255.240
Will become a DMS once I switch ISP in September. For now I will more than likely change to HOTLAN mode at a later date, as will be used for internet facing services E.g game servers
I have an ubuntu 14 server also with multiple NIC's and this is where the problem starts
NIC1 connected to LAN1
Static config
192.168.15.254
255.255.255.0
NIC2 connected to LAN2
Static config
10.15.0.2
255.255.255.240
Now onto the problem.
If I have just one NIC configured say NIC2 I am able to ping it using my windows machine connected to LAN1 and am able to access the services on it say game servers.
If I then enable both NIC's in the ubuntu server I can no longer ping NIC2 but I can ping NIC1.
When I connect my laptop to LAN2 the same is ture for that network. I can ping NIC2 but not NIC1, and If just NIC1 is connected I can ping NIC1.
I then connected my laptop to both networks and this showed the same result.
Windows machine could only ping the laptops conection to LAN1 and the ubuntu machine which at this time only had NIC2 configured could only ping the laptop on its LAN2 connection.
When both NIC's are configured on the ubuntu server I can no longer access its services via LAN2, however they are still available to the internet and systems connected to LAN2 only.
I think this might be a routing issue and have found lots of info regarding setting routes too and from certain networks, and default NIC's for said network traffic. Of witch I have tried many and none have made any change to the behaviour of he network.
So far these routes have only been applied to the ubuntu server machine but I'm not sure that’s where the problem is.
If any one cloud point me in the right direction, or shed some light on this I'd be grateful l.
Share this post:
Responses (9)
-
Accepted Answer
I suspect (but don't know for sure) that the issue is in the routing tables of the workstations/devices connected to ClearOS and not in ClearOS. I wonder if, on those LAN devices they need some sort of destination based route set up. You can try dumping their routing tables and posting them. You may get a response. -
Accepted Answer
Thanks for the reply Nick
I used the command "netstat -rn". the first one is when only the LAN2 is ative
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.15.0.1 0.0.0.0 UG 0 0 0 p2p4
10.15.0.0 0.0.0.0 255.255.255.240 U 0 0 0 p2p4
And this one is when both LAN1 & LAN2 are connected
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.15.0.1 0.0.0.0 UG 0 0 0 p2p4
10.15.0.0 0.0.0.0 255.255.255.240 U 0 0 0 p2p4
192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 p2p3
Routing tables I still just don't get! -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I think you're going to need someone better than me at routing for this one. I suspect you may have a routing loop which is not allowed. Otherwise, I'm not sure.
Re "code" tags, on many (most?) forums, if you put text between [code ] and [/code ] (removing the space directly after the word "code") then your pasted text stays with a fixed font which is great for console output. The output to the "route" command then looks something like:
If you are not sure, quite my post and you'll see how I did it.[root@server ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.10.2 * 255.255.255.255 UH 0 0 0 tun1
172.17.3.2 * 255.255.255.255 UH 0 0 0 tun0
82.19.158.0 * 255.255.255.0 U 0 0 0 eth0
192.168.30.0 cpc19-horn3-2-0 255.255.255.0 UG 0 0 0 eth0
10.8.10.0 10.8.10.2 255.255.255.0 UG 0 0 0 tun1
172.17.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.10.0 cpc19-horn3-2-0 255.255.255.0 UG 0 0 0 eth0
172.17.3.0 172.17.3.2 255.255.255.0 UG 0 0 0 tun0
239.0.0.0 * 255.0.0.0 U 0 0 0 eth1
default cpc19-horn3-2-0 0.0.0.0 UG 0 0 0 eth0
-
Accepted Answer
-
Accepted Answer
Do I've been investigating a little.
My NAS is on LAN1 and LAN3 and works fine. I can ping ether interface from any network, its routing table is below
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.15.1 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.248 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.15.9 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
So I see some differences with the flags and lo interface. Any idea how I might copy this table to my ubuntu machine but altered slightly to fit LAN2? Again the ubuntu routing table is below
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.15.0.1 0.0.0.0 UG 0 0 0 p2p4
10.15.0.0 0.0.0.0 255.255.255.240 U 0 0 0 p2p4
192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 p2p3
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
Any one got any idea's for me? -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »