Hi J.C., Thank you for your answer. I have written that I want to use the computer as a router in a future. I'm testing it in my lab as a simple non-router computer now. The first interface has ip 192.168.0.48 and the second 192.168.0.49. From the console of the computer I'm not able to ping the second interface (host is down). (No error in messages, VIA EPIA PD-10000, OpenBSD 3.9) Ifconfig follows:
/var/log$ ifconfig -A lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:40:63:de:d9:8f groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.0.48 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::240:63ff:fede:d98f%vr0 prefixlen 64 scopeid 0x1 vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:40:63:de:d9:da media: Ethernet autoselect (100baseTX full-duplex) status: active inet 192.168.0.49 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::240:63ff:fede:d9da%vr1 prefixlen 64 scopeid 0x2 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224 pfsync0: flags=0<> mtu 1460 enc0: flags=0<> mtu 1536 Karel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J.C. Roberts Sent: Wednesday, May 17, 2006 2:47 AM To: Karel Galu9ka Cc: misc@openbsd.org Subject: Re: Ethernet Card On Tue, 16 May 2006 18:47:18 +0200, Karel Galuka <[EMAIL PROTECTED]> wrote: >Problem is following: Only vr0 works. Vr1 is unreachable. Ping from console >said Host is down. But when I disabled the first NIC in bios, the second NIC >obtained vr0 and worked fine. So, I guess, HW is OK. I want the machine use >as a router, so a need 2 working cards. Hi Karel, The answer is that you do not understand routing, so building a "router" will require you to learn what you are doing. Think about your configuration... -You have two interfaces on the same subnet. -You have only one default route for that subnet. -Your default route to that subnet is tied to a single interface. Do you see the conflict? Start reading here: http://www.openbsd.org/faq/faq6.html Make sure you download and read the PDF file linked as "Understanding IP Addressing" on the above page. Kind Regards, JCR -- Free, Open Source CAD, CAM and EDA Tools http://www.DesignTools.org