[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: routing in openbsd
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: routing in openbsd
- From: ktb <xyf_(_at_)_nixnotes_(_dot_)_org>
- Date: Wed, 15 Jan 2003 14:04:58 -0600
- Mail-followup-to: tech_(_at_)_openbsd_(_dot_)_org
On Wed, Jan 15, 2003 at 08:51:28PM +0100, Hannah Schroeter wrote:
> On Wed, Jan 15, 2003 at 01:37:43PM -0600, ktb wrote:
> >I have been working on this problem for a day and a half and could use
> >some help. The short question is, Can I create the following routing
> >table from linux in OpenBSD? Addresses are spoofed.
> >Destination Gateway Genmask Flags Use
> >22.214.171.124 0.0.0.0 255.255.255.255 UH eth1
> >126.96.36.199 0.0.0.0 255.255.255.255 UH eth0
> >188.8.131.52 0.0.0.0 255.255.255.0 U eth1
> >184.108.40.206 0.0.0.0 255.255.248.0 U eth0
> >127.0.0.0 0.0.0.0 255.0.0.0 U lo
> >0.0.0.0 220.127.116.11 0.0.0.0 UG eth0
> What's the address, netmask and broadcast address of eth0 in this example?
Thank you for your reply.
This is kind of screwy but ifconfig for eth0 shows:
inet addr:18.104.22.168 Bcast:22.214.171.124 Mask:255.255.248.0
I notice in the routing table eth0 is:
126.96.36.199 0.0.0.0 255.255.255.255 UH eth0
The above routing table does work though.
To know the truth is to distort the Universe.
Alfred N. Whitehead (adaptation)
Visit your host, monkey.org