BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 15th, 2007, 02:45 AM
Peter_APIIT Peter_APIIT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 30 Peter_APIIT Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 45 m 12 sec
Reputation 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.

Reply With Quote
  #2  
Old December 15th, 2007, 03:49 AM
Peter_APIIT Peter_APIIT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 30 Peter_APIIT Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 45 m 12 sec
Reputation Power: 0
I try route hsow and netsta -rn but didn;t show any clues.

Reply With Quote
  #3  
Old December 20th, 2007, 08:22 PM
Peter_APIIT Peter_APIIT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 30 Peter_APIIT Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 45 m 12 sec
Reputation Power: 0
Why no one is helping me one ?

Reply With Quote
  #4  
Old December 27th, 2007, 01:36 AM
Peter_APIIT Peter_APIIT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 30 Peter_APIIT Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 45 m 12 sec
Reputation Power: 0
I not urge for help but this is really urgent.

Reply With Quote
  #5  
Old December 27th, 2007, 01:09 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,389 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 22 h 17 m 29 sec
Reputation Power: 4080
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Openbsd as gateway Problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap