Re: route problem

2005-10-15 Thread Marcus Lindemann
man Chan wrote:

Hello,

I have a route problem in setting up my home network. 
Here is the layout of it:

internet
   |
obsd3.6 (fw)
   | 192.168.1.254
   |
switch (wired)
   |
   | 192.168.1.230 (vr0 wired)
   |
obsd-3.8 
   |
   | 192.168.2.1 (ral0 wireless)
   |
clients (Xp)

My problem is: the XP can ssh to the obsd-3.8 through
wirelss.  However it cannot access the internet.

Thanks

clarence


ifconfig at 192.168.1.230
=
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
33224
groups: lo 
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
ral0:
flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:12:17:68:80:74
media: IEEE802.11 autoselect hostap
status: active
ieee80211: nwid obsd-group chan 6 bssid
00:12:17:68:80:74 100dBm 
inet 192.168.2.1 netmask 0xff00 broadcast
192.168.2.255
inet6 fe80::212:17ff:fe68:8074%ral0 prefixlen
64 scopeid 0x1
vr0:
flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:0d:87:b4:63:8f
groups: egress 
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
inet 192.168.1.230 netmask 0xff00
broadcast 192.168.1.255
inet6 fe80::20d:87ff:feb4:638f%vr0 prefixlen
64 scopeid 0x2
pflog0: flags=0 mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536
bridge0: flags=41UP,RUNNING mtu 1500
groups: bridge 




___
 7Q'Y.I,(l7s email 3q*!H
 $U8| Yahoo! Messenger http://messenger.yahoo.com.hk 

  

Hi,
do you have ip forwarding enabled? See man afterboot(8) Check routing
table section for how to do it.

BR
Marcus



Re: route problem

2005-10-15 Thread Greg Thomas
On 10/15/05, man Chan [EMAIL PROTECTED] wrote:

 Hello,

 I have a route problem in setting up my home network.
 Here is the layout of it:

 internet
 |
 obsd3.6 (fw)
 | 192.168.1.254 http://192.168.1.254
 |
 switch (wired)
 |
 | 192.168.1.230 http://192.168.1.230 (vr0 wired)
 |
 obsd-3.8
 |
 | 192.168.2.1 http://192.168.2.1 (ral0 wireless)
 |
 clients (Xp)

 My problem is: the XP can ssh to the obsd-3.8 through
 wirelss. However it cannot access the internet.

 As I mentioned before you probably don't have a route on your 3.6 box to
your 192.168.2.0 http://192.168.2.0 network. And do your pf rules on the
3.6 box allow the 192.168.2.0 http://192.168.2.0 network to reach the
internet?
 Greg



Re: route problem

2005-10-15 Thread Greg Thomas
On 10/15/05, Marcus Lindemann [EMAIL PROTECTED] wrote:

 man Chan wrote:

 Hello,
 
 I have a route problem in setting up my home network.
 Here is the layout of it:
 
 internet
  |
 obsd3.6 (fw)
  | 192.168.1.254 http://192.168.1.254
  |
 switch (wired)
  |
  | 192.168.1.230 http://192.168.1.230 (vr0 wired)
  |
 obsd-3.8
  |
  | 192.168.2.1 http://192.168.2.1 (ral0 wireless)
  |
 clients (Xp)
 
 My problem is: the XP can ssh to the obsd-3.8 through
 wirelss. However it cannot access the internet.
 
 Thanks
 
 clarence
 
 
 
 
 Hi,
 do you have ip forwarding enabled? See man afterboot(8) Check routing
 table section for how to do it.

 As per a previous message of his ip forwarding is enabled.
 Greg



回覆: Re: route problem

2005-10-15 Thread man Chan
--- Greg Thomas [EMAIL PROTECTED] ;!!G

 On 10/15/05, man Chan [EMAIL PROTECTED]
 wrote:
 
  Hello,
 
  I have a route problem in setting up my home
 network.
  Here is the layout of it:
 
  internet
  |
  obsd3.6 (fw)
  | 192.168.1.254 http://192.168.1.254
  |
  switch (wired)
  |
  | 192.168.1.230 http://192.168.1.230 (vr0 wired)
  |
  obsd-3.8
  |
  | 192.168.2.1 http://192.168.2.1 (ral0 wireless)
  |
  clients (Xp)
 
  My problem is: the XP can ssh to the obsd-3.8
 through
  wirelss. However it cannot access the internet.
 
  As I mentioned before you probably don't have a
 route on your 3.6 box to
 your 192.168.2.0 http://192.168.2.0 network. And
 do your pf rules on the
 3.6 box allow the 192.168.2.0 http://192.168.2.0
 network to reach the
 internet?
  Greg
 
 

Thanks Greg. I finally fixed all the problems.  Since
I added another AP machine (192.168.3.1) for testing
purpose, I may mesh up something.  The next step for
my case is to make the wireless channel excrypted. 
Any pointers ?  Thanks.

Clarence

___
 7Q'Y.I,(l7s email 3q*!H
 $U8| Yahoo! Messenger http://messenger.yahoo.com.hk 

___
 7Q'Y.I,(l7s email 3q*!H
 $U8| Yahoo! Messenger http://messenger.yahoo.com.hk