December 15th, 2007, 02:45 AM
Openbsd as gateway Problem
Hello all expert network administrator, i ahve openbsd 4.1 installed on my p3 box.
My internal network cannot operate:
Contents of /etc/dhcd.conf :
share-network 10.0.0.0 netmask 255.0.0.0
option routers 10.0.0.10;
range 10.0.025 10.0.0.30;}}
Contents of /etc/hostname.rl0 : (External interface)
dhcp none -- I get dynami ip frm my isp.
Contents of /etc/hostname.rl1 : (Internal interface)
inet 10.0.0.1 255.0.0.0 none
Contents of /etc/hostname.ral0 : (Wireless interface)
inet 10.0.0.2 255.0.0.0 and some other options mediaopt hostap mode 11g nwid hello nwkey xxx.
I try to connect latop to my openbsd box, i can get the address from openbsd box but cannot ping 10.0.0.10(gateway)
I also try to connet using internal interface but this is worse than wireless because i cannot get any address after send the broadcast messages to openbsd.
Error message from /var/log/daemon :
1. openbsd ppp:tun0 :warning :0.0.0.0/0: change route failed : errno No such process
2. warning: ff01:7::/32 : change route failedLerrno network is unreachable
3. warning:ff02:7::/32 : changed route failed: errno network is unreachable
cann't listen on rl0 - it has no ip address
cann't listen on YES - it has no ip address - I try to plugin the cable but still the same.
DHCPD: DHCPDISCOVER from 00:18:de:78:29:3a via ral0(Wireless)
DHCPOFFER on 10.0.0.25 to "" via ral0
DHCPREQUEST for "" from "" via ral0
DHCPACK on 10.0.0.25 to "" via ral0.
I have forward interface enbale in my /etc/sysctlconf for bot inet and inet6.
I have squid, snort, ssh, ntpd installed.
I can online by uisng only openbsd box because i have configured the ppp.conf.
If you want any netstat, routing table informaion, pleae let me know.
Thanks for oyur help. Your help is greatly appreciated by me and others.
December 15th, 2007, 03:49 AM
I try route hsow and netsta -rn but didn;t show any clues.
December 20th, 2007, 08:22 PM
Why no one is helping me one ?
December 27th, 2007, 01:36 AM
I not urge for help but this is really urgent.
December 27th, 2007, 01:09 PM
1. What is the content of /etc/mygate
2. Would you please show the output of netstat -ar here
3. What is the output of sysctl net.inet.ip.forwarding
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo