Hi This is a part of the output containing the static routes related to *bnx0* , *bnx1 *, i was trying to make a static route for the 189.92.72.11 pointing to *bnx1* but without success, is it possible ? below the routes is the output of ifconfig these interfaces, i'm gonna try a bridge also. Thank all of you for the responses.
Regards Dante F. B. Colò default 189.92.72.9 UGS 5746 674637542 - 8 bnx0 189.92.72.8/29 link#5 UC 3 0 - 4 bnx0 189.92.72.9 f4:0f:1b:20:4b:20 UHLc 1 0 - 4 bnx0 189.92.72.10 00:10:18:9d:31:84 UHLc 0 42 - 4 lo0 189.92.72.11 link#5 UHLc 0 1 - 4 bnx0 204.31.112/24 link#2 C 0 0 - 4 bge1 204.31.112.24/29 link#2 C 1 0 - 4 bge1 204.31.112.26 00:25:64:3c:de:76 UHLc 0 34 - 4 lo0 224/4 127.0.0.1 URS 0 0 33200 8 lo0 bnx1: flags=28843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu 1500 lladdr 00:10:18:9d:31:86 priority: 0 media: Ethernet autoselect (1000baseT full-duplex) status: active inet 189.92.72.11 netmask 0xfffffff8 broadcast 189.92.72.15 bnx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1400 lladdr 00:10:18:9d:31:84 priority: 0 groups: egress media: Ethernet autoselect (1000baseT full-duplex) status: active inet6 fe80::210:18ff:fe9d:3184%bnx0 prefixlen 64 scopeid 0x5 inet 189.92.72.10 netmask 0xfffffff8 broadcast 189.92.72.15 On 11/7/14 4:18 AM, rjc wrote: > On Thu, Nov 06, 2014 at 04:12:20PM EST, "Dante F. B. Colò" wrote: > >> Hello everyone > Hi Dante, > >> I'm trying to setup some static routes on a openbsd 4.9 box for some >> public addresses , the machine has two ethernet cards *bnx0 ***and *bnx1 >> ***, *bnx0* is attached to a Cisco internet router and *bnx1*** is >> connected to a switch, both interfaces have public addresses of the >> same range , *bnx1 *appears has absolutely no communication , i took a >> look at the static routes and there is a route for the subnet that it >> goes to *bnx0* , i'm trying to add a static route for the ip address >> pointing to the***bnx1 *without pass gateway using *-iface* parameter >> but always returns "Network unreachble", someone can help me or give >> some tips to fix this ? for many here this is probably a nooby question, >> we also have some firewall Linux boxes that i'm gonna migrate to openbsd >> but first i have to solve this. > First and foremost, if you ask any questions regarding networking, you > should include the content of: > > /etc/hostname.bnx{0,1} > /etc/mygate # if it exists and you're not using DHCP > > Please also include the output of: > > router show > > and any commands exactly as you enter them. > > That would be a good place to start - BTW, this information should have > been included in the first email. > > Regards, > > rjc > > P.S. 4.9? Isn't it time to upgrade? ;^)