DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 18th January 2011
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Default routing and ARP questions

Hi there
I'm still trying to set up my network. The devices that concern me at this stage in the set-up that i want are:

Code:
---|LAN|---|switch|---|OpenBSD|---|switch|------|ADSL/router|
So OpenBSD will hopefully be a firewall/rouer for the internal LAN.
Here is the output of netstat -rn on OpenBSD:
I
Code:
nternet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.1.254      UGS        0        0     -     8 xl0  
127/8              127.0.0.1          UGRS       0        0 33200     8 lo0  
127.0.0.1          127.0.0.1          UH         2        0 33200     4 lo0  
192.168.1/24       link#1             UC         1        0     -     4 xl0  
192.168.1.66       127.0.0.1          UGHS       0        0 33200     8 lo0  
192.168.1.254      00:24:17:f7:d5:88  UHLc       1       41     -     4 xl0  
192.168.2/24       link#2             UC         1        0     -     4 xl1  
192.168.2.77       34:15:9e:2e:0b:ac  UHLc       0       23     -     4 xl1  
224/4
xl0 is the external interface.xl1 is the internal interface. I have routing turned on in /etc/sysctl.conf.
What i'm trying to establish is whether the border router/ADSL box(which is a home router) Won't allow anything from interfaces that are on different subnets to it's internal interface, or whether i just haven't configured routing properly on OpenBSD.
A tcpdump sniff of the OpenBSD boxes external interface, while i'm trying to ping the border router from the LAN just revealed that OpenBSD's external interface was sending the icmp echo packets out. The only other thing mentioned in this sniffing session was that the ADSL/border router did an ARP request for the host on the LAN that pinged it. No reply was received. I can ping either the external or internal interface on the OpenBSD box from hosts on the LAN. I just need to establish whether it's the ADSL box/border router that is refusing to deal with packets that have source I.Ps that are not on the same subnet as it's internal interface/dhcp range or whether there is anything i can do on OpenBSD to improve the situation?.
btw when i did:
Code:
#route add 192.168.2.77 192.168.2.12
the situation was the same. I couldn't ping the border router from the LAN.
Thank you for your time and any replies.
Reply With Quote
 


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loose UDP routing? spiller37 OpenBSD Security 4 31st July 2009 11:10 PM
double nat routing giagni General software and network 5 22nd May 2009 07:10 PM
Firewall routing Magoo FreeBSD General 9 4th November 2008 04:39 PM
Routing and routing some more! Weaseal FreeBSD General 1 19th August 2008 01:39 PM
OpenBSD and routing cchapman OpenBSD General 5 25th July 2008 05:55 PM


All times are GMT. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick