The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-21-2007
Peter_APIIT Peter_APIIT is offline
Banned
 

Join Date: Sep 2007
Posts: 56
Openbsd as gateway Problem

Hello all expert network administrator, i truly new to networking. Please help me in this problem. /etc/hostname.rl1(Wired Internal interface) inet 10.0.0.1 255.255.255.0 none
/etc/hostname.ral0 : inet 10.0.1.1 255.255.255.0 and others option as well.

/etc/dhcpd.conf : share-network local { subnet 10.0.0.0 netmask 255.255.255.0 options routers 10.0.0.10; range 10.0.0.25 10.0.0.35;}}
share-network wireless { subnet 10.0.1.0 netmask 255.255.255.0 option routers 10.0.0.10 range 10.0.1.5 10.0.1.7 ;}}

output of ifconfig -a | less :
rl0 : inet: 192.168.1.3 netmask:0xffffff00 broadcast:192.168.1.255
rl1: No ip address becuase i didn't plugin cable
ral0: 10.0.1.1 netmask:0xffffff00 broadcast:10.0.1.255

Output of netstat -r | less :

Destination Gateway Flags Refs Use MTU Interface
default 219.93.218.177 UGS 11 618516 - tun0
10.0.1/24 link#3 UC 0 82 - ral0
localhost localhost UH 0 82 33224 lo0
192.168.1/24 link#1 UC 1 0 - rl0
192.168.1.1 00:30:0a:93:b0:58 UHLc 1 33 - rl0
219.93.218.177 103.17748.60 UH 1 0 1492 tun0
I really run out of idea . PLease help me. Thanks for your help. Your help is greatly appreciated by me and others.

Last edited by Peter_APIIT; 12-21-2007 at 10:24 PM.
Forum Sponsor