The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
BSD Release: OpenBSD 4.3 iBot Software Releases - RSS News 0 04-30-2008 08:20 PM
BSD Release: OpenBSD 4.3 iBot Software Releases - RSS News 0 04-30-2008 06:20 PM
Trying to get into OpenBSD deckard BSD 6 03-15-2005 05:43 PM
OpenBSD : mount problem fnoyan BSD 1 09-18-2004 09:26 AM
please help with openbsd 2.9 Blunt_Killer UNIX for Dummies Questions & Answers 11 06-24-2001 07:15 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #22  
Old 12-23-2007
Banned
 

Join Date: Sep 2007
Posts: 56
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1b:11:5b:71:58 media: Ethernet autoselect (none) status: no carrier
inet 176.16.1.2 netmask 0xfff00000 broadcast 176.31.255.255
inet6 fe80::21b:11ff:fe5b:7158%rl1 prefixlen 64 scopeid 0x2

ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1c:10:e4:eb:0e groups: wlan media: IEEE802.11 autoselect mode 11g hostap statuc: active
ieee802.11: nwid xxx chan 11 bssid: lladdr nwkey xxx 100dBm
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::21c:10ff:fee4:eb0e%ral0 prefixlen 64 scopeid 0x3
Forum Sponsor
  #23  
Old 12-23-2007
Banned
 

Join Date: Sep 2007
Posts: 56
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
enco: flags=0<> mtu 1536
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
groups: tun egress inet 60.48.182.211 --> 219.93.218.177 0xffffffff
I usign lynx text browser to post this. Sorry for any incovenience cause due to my pc has send to reapir.
  #24  
Old 12-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by porter View Post
post complete results of "ifconfig -a", it's difficult to see complete picture with fragmented postings.
I need to see the current state of play,

Code:
ifconfig -a
can you ping your router?

can you ping a device beyond your router?

Code:
$ ping www.unix.com
PING www.unix.com (81.17.242.186): 56 data bytes
64 bytes from 81.17.242.186: icmp_seq=0 ttl=41 time=415.7 ms
64 bytes from 81.17.242.186: icmp_seq=1 ttl=41 time=382.1 ms
  #25  
Old 12-23-2007
Banned
 

Join Date: Sep 2007
Posts: 56
Angry

Quote:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6


rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1b:11:66:02:da media: Ethernet autoselect (100baseTX full-duplex)
status: active inet6 fe80::21b:11ff:fe66:2da%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255


rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1b:11:5b:71:58 media: Ethernet autoselect (none) status: no carrier
inet 176.16.1.2 netmask 0xfff00000 broadcast 176.31.255.255
inet6 fe80::21b:11ff:fe5b:7158%rl1 prefixlen 64 scopeid 0x2


ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1c:10:e4:eb:0e groups: wlan media: IEEE802.11 autoselect mode 11g hostap statuc: active
ieee802.11: nwid xxx chan 11 bssid: lladdr nwkey xxx 100dBm
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::21c:10ff:fee4:eb0e%ral0 prefixlen 64 scopeid 0x3


pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
enco: flags=0<> mtu 1536
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
groups: tun egress inet 60.48.182.211 --> 219.93.218.177 0xffffffff

I usign lynx text browser to post this. Sorry for any incovenience cause due to my pc has send to repair.


Code:
$ ping www.unix.com
PING www.unix.com (81.17.242.186): 56 data bytes
64 bytes from 81.17.242.186: icmp_seq=0 ttl=41 time=415.7 ms
64 bytes from 81.17.242.186: icmp_seq=1 ttl=41 time=382.1 ms
Network Structure :

Modem -> (rl0)Openbsd(rl1 ral0) -> desktop && laptop :

Bothe of the wired and wireless connection can get ip from openbsd router.

Wired Gateway ip is 176.16.1.1
Ping from desktop to openbsd : Result is request timeout.


Wireless Gateway is 192.168.2.1
Ping from desktop to openbsd : Result is request timeout also.



Wired Connection ip is 176.16.10.10
Ping from openbsd to desktop : Result is ok

Wireless Connection ip is 192.168.2.3
Ping from openbsd to laptop : Result is ok

Thanks for your hel.

Your help is greatly appreciated by me an others.
  #26  
Old 12-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
It feels like progress...

What is the state of play with the openbsd to internet on rl0? Can you ping the modem? Can you ping 81.17.242.186 (www.unix.com)?

Can you get name resolving working.

Remember we want to get the internet side of things all working first.

However, on the desktop and laptop do their netmasks and subnet addresses match the same as what the openbsd box thinks they should be?

What do the laptop and desktop claim their default routes are?
  #27  
Old 12-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Have you enabled forwarding?

comp.unix.bsd.freebsd.misc: Re: FreeBSD Internet Gateway Router
  #28  
Old 12-23-2007
Banned
 

Join Date: Sep 2007
Posts: 56
Angry

Quote:
Wired Connection ip is 176.16.10.10
Ping from openbsd to desktop : Result is ok

Wireless Connection ip is 192.168.2.3
Ping from openbsd to laptop : Result is ok

Sorry to post some incorrect information.

I can ping and browse unix.com with the gateway openbsd.
I have test it the result is not ok for both wireless and wired as well.

I try to disable the pf also the same.

The address from desktop and laptop is as desired from openbsd.


Openbsd cannot ping client and client cannot ping openbsd.


Below is netstat -r | less :

Quote:
Internet

Destination Gateway Flags Refs Use Mtu Interface
default 219.93.218.177 UGS 2 161 - tun0
localhost localhost UH 0 2 33224 lo0
176.16/12 link#2 UC 3 0 - rl1
176.16.1.1 link#2 UHRLc 0 9 - rl1
176.16.1.2 Hardware add UHLc 0 8 - lo0
176.16.10.10 Hardware add UHLc 1 26 - rl1
192.168.1/24 link#1 UC 1 0 - rl0
192.168.1.1 H.A UHLc 0 19 - rl0
192.168.2/24 link#3 UC 0 0 - ral0
219.93.218.177 H.A UH 1 0 1492 tun0


Quote:
176.16.1.2 Hardware add UHLc 0 8 - lo0
192.168.2/24 link#3 UC 0 0 - ral0
Why this two interface doesn't have G in its flags ?

This appear that the gateway is down.

/etc/sysctl.conf net.inet.ip.forwading=1 but
net.inet6.ip6.forwading=0;

A billion thanks for your help.

Thanks.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0