Greetings list,
I have recently installed a redhat 7.2 box. I ran up2date to update all the
software on the box.
I turned on ipforwarding in /etc/sysctl.conf:
[root@gatekeeper root]# cat /etc/sysctl.conf
# Disables packet forwarding
net.ipv4.ip_forward = 1
I then rebooted the box after that. I also double checked if the change
went tru:
[root@gatekeeper root]# cat /proc/sys/net/ipv4/ip_forward
1
This is the output of ifconfig:
[root@gatekeeper root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:97:82:9D:2A
inet addr:192.168.1.2 Bcast:192.168.1.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1908 errors:0 dropped:0 overruns:0 frame:0
TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:145602 (142.1 Kb) TX bytes:19115 (18.6 Kb)
Interrupt:10 Base address:0xdcc0
eth1 Link encap:Ethernet HWaddr 00:06:5B:6E:8A:D3
inet addr:192.168.1.65 Bcast:192.168.1.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:5
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:300 (300.0 b)
Interrupt:11 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
This is the output of route:
root@gatekeeper root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
192.168.1.64 0.0.0.0 255.255.255.192 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
This host is sitting behind a cisco router. The routes on the cisco are as
follows:
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Ethernet0/1
192.168.1.0/24 is variably subnetted, 3 subnets, 2 masks
S 192.168.1.64/26 [1/0] via 192.168.1.2
C 192.168.1.0/26 is directly connected, Ethernet0/0
S 192.168.1.128/25 [1/0] via 192.168.1.2
S* 0.0.0.0/0 [1/0] via 10.1.1.1
When I am sitting on a network outside the cisco router trying to ping eth1
[inside] on the linux box I get no replys. I can ping eth0 though [oustide,
by the cisco]. Any suggestions on what I might be missing?
Regards
LK
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list