Dear friends;
There are two network cards: re0 and wlan0. I just want to set up my server to be a wireless rourer with subnet 192.168.1.1/24 based on wlan0 also, so I add following words in /etc/rc.conf:
But when booting, system says gateway 192.168.1.1 unreachable, and if I:
What does it mean? And what shall I do?
Thanks!
There are two network cards: re0 and wlan0. I just want to set up my server to be a wireless rourer with subnet 192.168.1.1/24 based on wlan0 also, so I add following words in /etc/rc.conf:
Code:
ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 ssid concordfamily mode 11n channel"
wlans_rt28600="wlan0"
router_enable="YES"
static_routes="internalnet1 internalnet2 net1 net2"
route_internalnet2="-net 192.168.1.0/24 192.168.0.6"
route_internalnet1="-net 192.168.1.0/24 192.168.1.1"
ifconfig_re0="inet 192.168.0.6 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
gateway_enable="YES"
But when booting, system says gateway 192.168.1.1 unreachable, and if I:
Code:
ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
What does it mean? And what shall I do?
Thanks!