hi all - looking for some network assistance on Mandrive 2006 - currently I´m stumped
have installed 2006 on a P4 celeron with dual NIC´s. setup is as follows
eth0: external 192.168.10.1 subnet 255.255.255.0
eth2: internal 10.10.10.1 subnet 255.255.255.0
disabled onboard NIC (eth1) as it was mentioned in these forums that it may be faulty.
now for some reason I can´t ping from one sub 192.168.10.x (eth0) to the other 10.10.10.x (eth2) ... and no connection to the 192.168.10.x network from clients on 10.10.10.x
[root@linux_FW etc]# ping 192.168.10.1 -I eth2
PING 192.168.10.1 (192.168.10.1) from 10.10.10.1 eth2: 56(84) bytes of data.
From 10.10.10.1 icmp_seq=2 Destination Host Unreachable
From 10.10.10.1 icmp_seq=3 Destination Host Unreachable
From 10.10.10.1 icmp_seq=4 Destination Host Unreachable
I can ping the def GW 192.168.10.254 from eth0 (192.168.10.1). below is my ROUTE output
[root@linux_FW /]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.10.0 * 255.255.255.0 U 10 0 0 eth2
192.168.10.0 * 255.255.255.0 U 10 0 0 eth0
default default 0.0.0.0 UG 10 0 0 eth0
I have enabled ip_forward=1 in the /etc/sysctl.conf ...
# Packet Forwarding
net.ipv4.ip_forward=1
and I have added the IP_FORWARD to the /ect/sysconfig/network
[root@linux_FW /]# cat /etc/sysconfig/network
HOSTNAME=linux_FW
NETWORKING=yes
GATEWAY=192.168.10.254
FORWARD_IPV4=TRUE
here is the the kernel routing output
[root@linux_FW etc]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.10.254 0.0.0.0 UG 0 0 0 eth0
both DNS and DHCP and currently disabled, and the FW is turned off (accept all). below is ifconfig output for the NIC´s
[root@linux_FW etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:0C:65:4D:8D
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::20e:cff:fe65:4d8d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1184 errors:0 dropped:0 overruns:0 frame:0
TX packets:886 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:462574 (451.7 KiB) TX bytes:137505 (134.2 KiB)
Interrupt:21
eth0:0 Link encap:Ethernet HWaddr 00:0E:0C:65:4D:8D
inet addr:192.168.10.2 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:21
eth2 Link encap:Ethernet HWaddr 00:08:A1:28:2A
0
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:fe28:2ad0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:580 errors:0 dropped:0 overruns:0 frame:0
TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58303 (56.9 KiB) TX bytes:22182 (21.6 KiB)
Interrupt:18 Base address:0xa000
eth2:2 Link encap:Ethernet HWaddr 00:08:A1:28:2A
0
inet addr:10.10.10.2 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3974 (3.8 KiB) TX bytes:3974 (3.8 KiB)
and when I issue the /etc/rc.d/init.d/network restart
[root@linux_FW etc]# /etc/rc.d/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth2: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth2: [ OK ]
Bringing up interface sit0: [ OK ]
so it looks like IP packet forwarding is running ?? any idea´s
thanks - Justin