#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2007
    Posts
    30
    Rep Power
    0

    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[12661]: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.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2007
    Posts
    30
    Rep Power
    0
    I try route hsow and netsta -rn but didn;t show any clues.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2007
    Posts
    30
    Rep Power
    0
    Why no one is helping me one ?
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2007
    Posts
    30
    Rep Power
    0
    I not urge for help but this is really urgent.
  8. #5
  9. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,594
    Rep Power
    4207
    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

IMN logo majestic logo threadwatch logo seochat tools logo