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
  #43  
Old 12-26-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Peter_APIIT View Post
For the both wired and wireless interface, no G flags in the routing table. This seems that the interface is not act as gateway for my internal network.
I thought G meant "the default gateway is on this interface".

It is "ip.forwarding" that enables the host to act as a gateway.

Think of if from the openbsd box's point of view, "I have a packet that I need to deliver so...."

(a) do I have any interface that IS that destination address, if so send to that interface (eg loopback messages, incoming messages to this host)

(b) do I have any interfaces on the same subnet (eg take netmask and apply to destination address and compare with interface.

(c) do I have a static route configured? If so send to appropriate interface

(d) if none of those, do I have a default route and on which interface?
Forum Sponsor
  #44  
Old 12-26-2007
Banned
 

Join Date: Sep 2007
Posts: 56
(a) I not really understand
(b) None
(c) I don't have any static route which is all automatic done by openbsd.
(d) I have default route which is located on tun0 which is a virtual interface for pppoe.
Default 219.93.218.177 UG tun0
Thanks for your reply.
  #45  
Old 12-26-2007
Banned
 

Join Date: Sep 2007
Posts: 56
From www.linuxhomenetworking.com chapter 8 mentioned that if you have multipl interface with dhcp server, u need to add a router 255.255.255.255. IS it true ?
Thanks for oyur help.
  #46  
Old 12-26-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Please post the output of:

Code:
route -an
OBTW, which TCP book did you get from the library?
  #47  
Old 12-26-2007
Banned
 

Join Date: Sep 2007
Posts: 56
rl0(External Interface), rl1(Internal)ral0 wireless.
This is routing table when i have no connection to the openbsd gateway. :
Destination Gateway Flags refs Use Mtu INterface
default 219.93.218.177 UGS 2 18802 - tun0
127.0.0.1 127.0.0.1 UH 0 2 33224 lo0
176.16.10/24 link#2 UC 0 0 - rl1
192.168.1/24 link#1 UC 1 0 - rl0
192.168.1.1 H.addrs UHLc 1 6 - rl0
192.168.2/24 link#3 UC 0 0 - ral0
219.93.218.177 60.48.0.0 UH 1 0 1472 tun0
  #48  
Old 12-26-2007
Banned
 

Join Date: Sep 2007
Posts: 56
I used some online book such as techbooksforfree/networking and tcpipguide.com.
By the way, why openbsd need to manually configurate route and freebsd doesn't need it ? Am i correct ?
A billion thanks for oyur help and merry christmans
  #49  
Old 12-26-2007
Banned
 

Join Date: Sep 2007
Posts: 56
I have add! default HISAddr in my /etc/ppp/pppoe.conf I don't know whether this is relavant but just an extra information.
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 10:30 AM.


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