we have red hat 6 linux box
There are two lan card
one lan card eth0 have ip 10.82.190.31/24 GW 10.82.190.254
2th lan card eth1 have ip 10.82.188.33/24 GW 10.82.188.254
I have below route ... I use two route table
root@xxx# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.82.188.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.82.190.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 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.82.190.254 0.0.0.0 UG 0 0 0 eth0
[root@xxx ~]# ip route
10.82.188.0/24 dev eth1 proto kernel scope link src 10.82.188.33
10.82.190.0/24 dev eth0 proto kernel scope link src 10.82.190.31
169.254.0.0/16 dev eth0 scope link metric 1003
169.254.0.0/16 dev eth1 scope link metric 1004
default via 10.82.190.254 dev eth0
root@xxx ~]# ip route show table internal
default via 10.82.188.254 dev eth1
[root@xxx ~]# ip rule
0: from all lookup local
1000: from 10.82.188.0 lookup internal
32766: from all lookup main
32767: from all lookup default
I can ping to those two GW
[root@xxx ~]# ping 10.82.188.254
PING 10.82.188.254 (10.82.188.254) 56(84) bytes of data.
64 bytes from 10.82.188.254: icmp_seq=1 ttl=64 time=2.37 ms
64 bytes from 10.82.188.254: icmp_seq=2 ttl=64 time=0.894 ms
[root@xxx ~]# ping 10.82.190.254
PING 10.82.190.254 (10.82.190.254) 56(84) bytes of data.
64 bytes from 10.82.190.254: icmp_seq=1 ttl=64 time=0.861 ms
64 bytes from 10.82.190.254: icmp_seq=2 ttl=64 time=1.85 ms
I have win 7 PC and want to access this linux box through those two lan card
ip 10.82.190.31/24 GW 10.82.190.254 eth0
ip 10.82.188.33/24 GW 10.82.188.254 eth1
I find I can ping eth0 from Win7 but I cannot ping eth1 from win 7
The win7 PC have below IP
IPv4 Address. . . . . . . . . . . : 10.92.18.108
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.92.18.254
:\Users\User>ping 10.82.190.31
Pinging 10.82.190.31 with 32 bytes of data:
Reply from 10.82.190.31: bytes=32 time<1ms TTL=61
Reply from 10.82.190.31: bytes=32 time<1ms TTL=61
Reply from 10.82.190.31: bytes=32 time<1ms TTL=61
Reply from 10.82.190.31: bytes=32 time<1ms TTL=61
C:\Users\User>ping 10.82.188.33
Pinging 10.82.188.33 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
I use tracert to trace those two lan ip ( linux lan card ip) from win7 PC
C:\Users\User>tracert 10.82.190.31
Tracing route to 10.82.190.31 over a maximum of 30 hops
1 1 ms 1 ms 1 ms 10.92.18.252
2 1 ms 1 ms 1 ms 10.82.250.29
3 12 ms 4 ms 9 ms 10.82.250.66
4 <1 ms <1 ms <1 ms 10.82.190.31
Trace complete.
C:\Users\User>tracert 10.82.188.33
Tracing route to 10.82.188.33 over a maximum of 30 hops
1 1 ms 2 ms 1 ms 10.92.18.252
2 2 ms 1 ms 1 ms 10.82.250.29
3 298 ms 1 ms 5 ms 10.82.250.66
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.
Trace complete.
I find when I tracert to eth1 linux box ip 10.82.188.33
The trace is stop at 10.82.250.66
From linux box , I can reach 10.82.250.66 from eth0 but I cannot reach from eth1
[root@xxx ~]# traceroute -i eth0 10.82.250.66
traceroute to 10.82.250.66 (10.82.250.66), 30 hops max, 60 byte packets
1 10.82.250.66 (10.82.250.66) 2.140 ms 2.132 ms 2.148 ms
root@XXX ~]# traceroute -i eth1 10.82.250.66
traceroute to 10.82.250.66 (10.82.250.66), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
[root@XXX ~]#
So, please advise what I need to set linux box if I want this win7 pc reach the linux box from eth1 ??
I can use win7 pc to reach eth0 in linux box now ...
So, anything I need to config in IP 10.82.250.66 ???