Two internet connections

Josh Paetzel friar_josh at webwarrior.net
Thu Sep 18 22:46:33 PDT 2003


I've got a box with two connections to the internet, subnetted through a cisco 
router.  I've brought up the interface on one of the ips, and aliased the interface 
to the other ip on the other subnet.  I've set the default route to be one of the ips 
on the router, and I'm wondering how to get this setup to work.  I can ping the 
interface ips just fine, and I can ping both ips on the router, but beyond that, I 
can only connect to the box via the interface the default route is assigned to.  

I'm afraid that I don't know enough about what I'm trying to do here to even properly 
describe my problem, let alone come up with a good solution.  To make matters worse, 
my only access to the box is via ssh, so I'm afraid to experiment too much lest I 
lock myself out.  Relevent info follows.

 uname -a
FreeBSD ns1.speedexpress.net 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #6: Thu Sep 11 
08:54:25 GMT 2003     friar at ns1.speedexpress.net:/usr/src/sys/compile/IGW  i386

ifconfig
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 12.43.233.250 netmask 0xffffff80 broadcast 12.43.233.255
        inet6 fe80::240:f4ff:fe52:bbce%sis0 prefixlen 64 scopeid 0x1 
        inet 66.142.28.165 netmask 0xffffffe0 broadcast 66.142.28.191
        ether 00:40:f4:52:bb:ce
        media: Ethernet autoselect (10baseT/UTP)
        status: active

 netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            12.43.233.129      UGSc       38     7414   sis0
12.43.233.128/25   link#1             UC         19        0   sis0
12.43.233.129      00:08:21:37:ca:60  UHLW       37        0   sis0   1199
12.43.233.133      00:09:5b:0c:a2:af  UHLW        0       11   sis0    254
12.43.233.137      00:09:5b:01:fa:50  UHLW        0       10   sis0
12.43.233.143      00:a0:c5:e7:59:69  UHLW        0        4   sis0    221
12.43.233.152      00:40:05:be:59:cc  UHLW        0      118   sis0    984
12.43.233.163      00:08:bb:10:0c:ac  UHLW        0        7   sis0     10
12.43.233.164      00:30:bd:01:b3:52  UHLW        0        3   sis0    707
12.43.233.177      00:08:bb:10:11:32  UHLW        0        0   sis0    624
12.43.233.178      00:08:bb:10:0e:6a  UHLW        0        0   sis0    786
12.43.233.180      00:02:2a:f1:18:e0  UHLW        0     1273   sis0   1015
12.43.233.182      00:04:5a:79:dd:e1  UHLW        0        9   sis0    692
12.43.233.190      00:07:e9:cc:12:b2  UHLW        0        1   sis0    976
12.43.233.194      00:07:e9:af:9b:2c  UHLW        0      415   sis0    890
12.43.233.197      00:40:f4:52:5e:67  UHLW        0      152   sis0   1143
12.43.233.202      00:02:e3:02:2e:19  UHLW        0        2   sis0    548
12.43.233.219      20:e0:4c:39:8f:85  UHLW        0        2   sis0    984
12.43.233.231      00:e0:7d:f2:df:05  UHLW        0     7387   sis0    999
12.43.233.234      00:10:dc:5f:96:ce  UHLW        0        9   sis0   1169
12.43.233.250      00:40:f4:52:bb:ce  UHLW        0    12857    lo0
66.142.28.160/27   link#1             UC          0        0   sis0
127.0.0.1          127.0.0.1          UH          0      470    lo0


Thanks In Advance, 

Josh Paetzel


More information about the freebsd-questions mailing list