OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: upl(4) interface not working

From: Lars Weste (lwestegmx.de)
Date: Thu Mar 02 2006 - 01:42:07 CST


Hi all,

>On Wednesday 01 March 2006 21:09, Lars Weste wrote:
>> I configured it on the first machine:
>> ifconfig upl0 inet 10.200.200.1 10.200.200.2 netmask 255.255.255.255
up
>
>Wrong netmask. point-to-point links usually use 255.255.255.252 (a /30).

I tried with different netmasks, /30, /31, /32, /0 and without specifying
a netmask. As mentioned in a previous mail, the interface shows up as
configured, also the routing table looks good to me.

ifconfig upl0 inet 10.200.200.1 10.200.200.2 netmask 255.255.255.252 up
ping 10.200.200.1

the ping command returns with no route to host...

I am unable to ping the local ip on the local upl0 interface. Regardless
which netmask i have configured, shouldn't I be able to ping the local
configured IP?

I plugged the cable into a linux host, the device was recognized as the
following:
Mar 2 07:26:03 linux kernel: usb 4-1: new full speed USB device using
uhci_hcd and address 2
Mar 2 07:26:03 linux /etc/hotplug.d/usb/50-usb.hotplug[16124]:
cat: /sys//devices/pci0000:00/0000:00:1d.3/usb4/4-1/product: No such file
or
directory
Mar 2 07:26:04 linux kernel: usb0: register usbnet at
usb-0000:00:1d.3-1,
Prolific PL-2301/PL-2302, f6:d5:9f:cb:1a:5c
Mar 2 07:26:04 linux kernel: usbcore: registered new driver usbnet
Mar 2 07:26:10 linux ifup: No configuration found for usb0

This was a suse linux host, so yast came up, asking whether I want to
configure the new network card. Linux takes the device as a network card,
not as a point-to-point device. after assigning a ip address I was able
to ping the local ip of the usb device.

I am a bit clueless why it is in linux a ordinary network interface and
in openbsd a point-to-point interface.

greetings
lars

--
"Feel free" mit GMX FreeMail!
Monat f|r Monat 10 FreeSMS inklusive! http://www.gmx.net