connect 2 subnet by WiFi
Andrey Smagin
samspeedu at mail.ru
Mon Jun 6 05:51:08 GMT 2005
Hi all!
Need to connect 2 ethernet subnet. Now for it used
D-Link DI-624 Wireless Router and DWL-G520. Problem that
Server can ping any another PC in net, subnet A can ping
Server but can't ping subnet B, subnet B also can ping
Server but can't ping subnet A.
topology and configs:
192.168.1.3
|by wire
subnet A |
192.168.1.6 \ | Air 192.168.1.100
192.168.1.7 > (Switch) --- DI-624 ~~~~~~ (ath0)Server(fxp0)
192.168.1.8 / by wire |
(Switch)
|
subnet B |
192.168.1.5
192.168.1.1
rc.conf
...
ifconfig_ath0="inet up ssid my_net"
ifconfig_fxp0="inet 192.168.1.100 netmask 255.255.255.0"
...
sysctl.conf
...
sysctl net.link.ether.bridge_cfg="ath0:1,fxp0:1"
sysctl net.link.ether.bridge=1
sysctl net.inet.ip.check_interface=0
...
--
Best regards,
Andrey mailto:samspeedu at mail.ru
More information about the freebsd-net
mailing list