Hello,
I have two networks:
192.168.1.x and 192.168.10.x subnet 255.255.255.0
I want to setup a router to route to the networks. I can ping to
anything on the 192.168.10.x from the 192.168.1.x.
I cannot ping anything on the 192.168.1.x from the 192.168.10.x
network. This is generic routing nothing to fancy. I just can't
figure out what is a miss.
Here is a netstat example:
default 192.168.1.67 UGSc 0 0 xl0
localhost localhost UH 0 0 lo0
192.168.1 link#1 UC 5 0 xl0
192.168.1.2 0:50:8b:a3:9b:46 UHLW 0 54 xl0
1149
192.168.1.5 0:80:5f:65:65:9a UHLW 0 13 xl0
669
192.168.1.26 0:6:5b:40:12:28 UHLW 6 128 xl0
1182
192.168.1.67 0:60:8:1d:3c:b9 UHLW 1 0 lo0
192.168.1.155 0:4:5a:fd:f6:4d UHLW 0 10 xl0
1177
192.168.10 link#2 UC 2 0 dc0
router 0:a0:cc:62:90:8c UHLW 2 4 lo0
192.168.10.58 0:a0:c9:11:1b:92 UHLW 0 11 dc0
675
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%xl0 link#1 UC xl0
fe80::260:8ff:fe1d 0:60:8:1d:3c:b9 UHL lo0
fe80::%dc0 link#2 UC dc0
fe80::2a0:ccff:fe6 0:a0:cc:62:90:8c UHL lo0
fe80::%lo0 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#4 UHL lo0
ff01:: ::1 U lo0
ff02::%xl0 link#1 UC xl0
ff02::%dc0 link#2 UC dc0
ff02::%lo0 ::1 UC lo0
Here is my rc.conf:
network_interfaces="dc0 xl0 lo0"
defaultrouter="192.168.1.67"
gateway_enable="YES"
ifconfig_xl0="inet 192.168.1.67 netmask 255.255.255.0"
ifconfig_dc0="inet 192.168.10.1 netmask 255.255.255.0"
hostname="router.xxx.com"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_reserved_port_only="YES"
Let me know if any other info is needed.
Any suggestions is greatly appreciated!
Cory Schafer