PC cannot reach two lan card Linux box

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat PC cannot reach two lan card Linux box
# 1  
Old 06-27-2014
PC cannot reach two lan card Linux box

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
Code:
 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
Code:
 :\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
Code:
 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
Code:
 [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 ???

Last edited by Scrutinizer; 06-27-2014 at 06:10 AM.. Reason: CODE tags
# 2  
Old 06-27-2014
What is 10.82.188.254 connected to? Does it see 10.82.250.66?
# 3  
Old 06-28-2014
please gives us output of

Code:
iptables -L

# 4  
Old 06-28-2014
The iptables certainly stop ......I check before ...
# 5  
Old 06-29-2014
Did you TCP wrappers ?

Do you have any entries in /etc/hosts.deny ?

And do you have router on your network or your Linux box is also a router ?

If Linux box is used as router you must enable ip forwarding in /etc/sysctl.conf and then load system parameters with syctl -p command.

Also I don't see anywhere information if you use SELinux.
# 6  
Old 06-29-2014
I am sure it is not work as router in this linux box ..

Traffic come to two lan card in linux box from external only....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Lan card not reaching Gateway

Hi, I have this problem on RHEL box. I am using two NIC's of same model and make (Intel 82557) in the adjacent PCI slots . I am using each one for different subnet and have assigned them ipaddresses and gateways of respective subnets . While one is O.K. connecting to its ... (5 Replies)
Discussion started by: dextergenious
5 Replies

2. Solaris

Can't ping new PCI LAN card x4270_m2

Hi, I've recently moved my pci LAN card from Slot2 Slot5 on my sun x4270_m2 server (solaris 10). I've done the touch / reconfigure and devfsadm, however my issue is that im able to configure the e1000g7 port with an ip address (192.168.0.1) but if i plug my laptop (set with static ip... (7 Replies)
Discussion started by: kerrygold
7 Replies

3. Linux

How to check the LAN card?

Hi. I have a lan card installed on my server. I want to check the duplex speed of it. How can I check it? Help is appreciated. Thank you. (3 Replies)
Discussion started by: Amol21
3 Replies

4. Programming

LAN card status Information

Please tell me API in Solaris / Linux / UNIX to get status information of LAN card. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

5. SCO

lan card not detecting

hi all i have installed SCO 5.0.5 on a "Netfinity 5000" IBM server. But the OS is not detecting the lan card. how can i detect it.... help and thanks in advance . bidhayak (3 Replies)
Discussion started by: bidhayakm
3 Replies

6. Solaris

Does x86 solaris 9 support PCI RealTek Lan Card

Hi, i have a RealTek Lan Card on my machine. Does Solaris 9 supports this lan card . Thank You, Shafi (3 Replies)
Discussion started by: sol8admin
3 Replies

7. SCO

LAN card problem

Dear all Im facing one problem in SCO 5.0.5 , its that in the server there are three LAN cards INTEL PRO 100 series but when we configure all the three cards then LAN stops working . self ping is possible but no one can ping the server. If we remove driver of any one card LAN starts working. Is... (1 Reply)
Discussion started by: ccvyas
1 Replies

8. Cybersecurity

lan card autonegotiation?

what is lan card autonegotiation ? how to enable and disable this feature? (2 Replies)
Discussion started by: nabil_boussetta
2 Replies

9. UNIX for Advanced & Expert Users

LAN Card Problem !

The Lan card in one of our UIII WS's seem doesn't work,so with ping command i can not see any of the machines in LAN and with some other tests i'm sure it's not OK. I tried to use the second card on PCI port ,but the replaced card was one of the ordinary card for PC's ...by the way after... (1 Reply)
Discussion started by: nikk
1 Replies

10. UNIX for Dummies Questions & Answers

Networking a SCO Unix box with a windows lan

Hi there! We have a SCO UNIX box that uses a bunch of dumb terminals. We also have a workgroup of 5 stations Is there a way that we can network the UNIX box to the workgroup for dumb terminal.. A novice would think you could TCP the UNIX machine through a hub and use hypertermal as a dumb... (6 Replies)
Discussion started by: huilai
6 Replies
Login or Register to Ask a Question