Hi,
we have the following 2 network:
1) 10.0.0.0 (private local network)
2) trunk of 195.130.164.0 (public network)
The 2) is based on 1 router (I do not know anything about that) and 1 server (195.130.164.191) attached to the router.
Actually we have a Unix machine working as router with the following interfaces:
eth0) 10.0.0.20 - 255.255.255.0 (I do not understand why, it should be 255.0.0.0, all the other machines in the same network have 255.0.0.0)
eth1) 195.130.164.210 - 255.255.255.252
ipchains -L
------------------------------------------------------------------------------
chain INPUT (policy ACCEPT)
chain FORWARD (policy DENY)
target prot opt source destination ports
MASQ all --- 10.0.0.20/24 anywhere n/a
chain OUTPUT (policy ACCEPT)
------------------------------------------------------------------------------
route
----------------------------------------------------------------------------------------
10.0.0.20 * 255.255.255.255 UH eth0
195.130.164.210 * 255.255.255.255 UH eth1
195.130.164.208 * 255.255.255.252 U eth1
10.0.0.0 * 255.255.255.0 U eth0
195.130.0.0 194.130.164.209 255.255.0.0 UG eth1
127.0.0.0 * 255.0.0.0 U lo
----------------------------------------------------------------------------------------
My PC (10.0.0.27 - 255.0.0.0) following route:
destination mask gateway interface
195.130.0.0 255.255.0.0 10.0.0.20 10.0.0.27
So now, if I ping the server 195.130.164.191 the network works fine!!!!!
tracert
---
* * * * 10.0.0.20
* * * * 195.130.164.209 (I suppose is the router interface towards the Unix machine)
* * * * 195.130.164.191
The problem:
-------------------
I bought a NETGEAR FSM7328S Layer 3 Managed Switch to REPLACE the Unix machine!
I configured the switch for routing and IP forwarding.
I configured port 25 to be 10.0.0.254 - 255.0.0.0 (routing enabled)
I configured port 1 to be 195.130.164.210 - 255.255.255.252 (routing enabled)
I added a static route:
destination mask port nextHop Ip address
195.130.0.0 255.255.0.0 1 195.130.164.209
My PC (10.0.0.27 - 255.0.0.0) following route:
destination mask gateway interface
195.130.0.0 255.255.0.0 10.0.0.254 10.0.0.27
With this configuration I can not ping the server 195.130.164.191 anymore!!!