|
ip route add
Hi,
I have a LAN which is formed by 8 computers and a router with FC2. On my computers from LAN I have a class of private ip (10.0.0.2-10.0.0.10).
On the interface to LAN (eth1) I put 10.0.0.1 and on eth0 I have my link ip from provider.
On router I have made SNAT.
Everything work just fine, but when I make a mtr to the one of my real ip from my /29 class, I have a big loop between my link ip and my provider.
To get rid of this loop, I made a:
ip r a PROVIDER_CLASS/29 via 10.0.0.1
and indeed I get rid of this loop.
Everything work just fine further, but theoretical speaking is this route given correct?
Thank you,
(Besides linux, which is a passion of mine, I am learning English too.. so please excuse my gramatical mistakes)
|