Hello,
I have 1 FreeBSD server with 3 NICS:
le1: 192.168.100.1 (Local Network)
le2: 100.90.80.71 (ISP1) (pppoe)
le3: 100.90.80.61 (ISP2)
[cmd=]netstat -rn[/cmd]
Now all traffic is redirected via ISP1.
If I add:
and
But I can't trace google.com from PC (192.168.100.2) in local network.
At the moment I'm using ipfw. Is there something that I must add in ipfw? Like divert? Because if I add:
Client PC can't "see" 1st hop:
Am I missing something?
Thanks
P.S. Thanks for the mod.Post look better now
I have 1 FreeBSD server with 3 NICS:
le1: 192.168.100.1 (Local Network)
le2: 100.90.80.71 (ISP1) (pppoe)
le3: 100.90.80.61 (ISP2)
[cmd=]netstat -rn[/cmd]
Code:
def gateway 100.90.80.70
If I add:
# route add -net 97.74.27.0/24 100.90.80.60
and
# traceroute google.com
all is fine:
Code:
traceroute to google.com (173.194.70.101), 64 hops max, 40 byte packets
1 100.90.80.60 (100.90.80.60) 5.479 ms 1.452 ms 3.734 ms
2 .....
3 .....
At the moment I'm using ipfw. Is there something that I must add in ipfw? Like divert? Because if I add:
Code:
ipfw add 1 divert all from 192.168.100.2 to any out via le3
ipfw add 1 divert all from any to 100.90.80.61 in via le3
Code:
sockstat |grep 8668
root natd 842 4 div4 *:8668 *:*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
natd 842 root 4u IPv4 0xc67b0000 0t0 DIVERT *:8668[/B]
Code:
tracert google.com
Tracing route to google.com [173.194.70.138]
over a maximum of 30 hops:
1 * * * timeout
Am I missing something?
Thanks
P.S. Thanks for the mod.Post look better now
