|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[Solved] Cannot access from internet on 2nd ISP
Hi,
I have a OpenBSD 4.9 with 3 NICs. For testing purposes pf is disabled. I can connect to services (eg. ssh) from internet via 1st ISP (shh 78.w.x.y, ping works) but i cant connect via 2nd ISP (ssh 178.w.x.y, ping dosent work). I would like to reach my server from two ISP at the same time. Here is my config: 1st NIC (gateway for lan): Code:
fxp0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:1b:21:22:f3:82 priority: 0 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::21b:21ff:fe22:f382%fxp0 prefixlen 64 scopeid 0x3 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 Gateway: 87.w.x.y Code:
pppoe0: flags=8951<UP,POINTOPOINT,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1492 priority: 0 dev: bge0 state: session sid: 0x1504 PADI retries: 1 PADR retries: 0 time: 21:47:47 sppp: phase network authproto pap authname "xxxxxxxxxxxx@y.pl" groups: pppoe egress status: active inet6 fe80::21b:21ff:feb5:5899%pppoe0 -> prefixlen 64 scopeid 0x6 inet 78.w.x.y --> 87.w.x.y netmask 0xffffffff Gateway: 178.w.x.254 Code:
em0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:1b:xx:xx:xx:xx description: 2/2 priority: 0 media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) status: active inet6 fe80::21b:21ff:feb5:5899%em0 prefixlen 64 scopeid 0x1 inet 178.w.x.y netmask 0xffffff00 broadcast 178.w.x.255 Code:
Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 87.w.x.y UGS 6 1010372 - 8 pppoe0 87.w.x.y 78.w.x.y UH 1 0 - 4 pppoe0 127/8 127.0.0.1 UGRS 0 0 33200 8 lo0 127.0.0.1 127.0.0.1 UH 0 511 33200 4 lo0 178.w.x/24 link#1 UC 8 0 - 4 em0 178.w.x.6 00:25:9c:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.34 00:25:9c:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.64 00:25:9c:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.65 00:25:9c:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.116 00:25:9c:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.139 68:7f:74:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.140 68:7f:74:xx:xx:xx UHLc 0 0 - 4 em0 178.w.x.254 00:1b:21:xx:xx:xx UHLc 0 0 - 4 em0 192.168.1/24 link#3 UC 51 0 - 4 fxp0 224/4 127.0.0.1 URS 0 0 33200 8 lo0 Code:
em0 at pci3 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 2 int 18 (irq 3), address 00:1b:xx:xx:xx:xx fxp0 at pci6 dev 0 function 0 "Intel 8255x" rev 0x0c, i82550: apic 2 int 21 (irq 11), address 00:1b:xx:xx:xx:xx inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 bge0 at pci5 dev 0 function 0 "Broadcom BCM5722" rev 0x00, BCM5755 C0 (0xa200): apic 2 int 17 (irq 10), address 00:22:xx:xx:xx:xx brgphy0 at bge0 phy 1: BCM5722 10/100/1000baseT PHY, rev. 0 Code:
sysctl net.inet.ip.forwarding=1 Last edited by n4p1; 30th September 2011 at 11:56 PM. Reason: solved |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.8 -> 4.9 and internet access stops | thefronny | OpenBSD Security | 4 | 14th August 2011 11:47 AM |
PF cannot access Internet from internal network | gpatrick | OpenBSD Security | 3 | 29th August 2010 10:59 PM |
could not look up internet address for .lan | idefix | FreeBSD General | 2 | 31st January 2009 02:22 PM |
Internet Access Problem OpenBSD 4.3 | alcy | OpenBSD General | 3 | 19th September 2008 06:00 PM |
Internet access within jail | Weaseal | FreeBSD General | 5 | 26th June 2008 02:45 PM |