Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2011 19:16:44 -0600
From:      Monkeyfoahead <jordanbhandy@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Routing Woes
Message-ID:  <EE1D61C0-76D3-4CF2-BA74-AA3AF15FBC83@gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
	I have a question that I thought that you could probably answer. =
I have setup a freebsd seedbox in my apartment.  This box has two =
internet connections (multi-homed server.). One is an ethernet =
connection behind a firewall that is connected to a Comcast modem. The =
other is my apartment's wifi. I desire to use the wifi for torrenting =
and my connection for http,ftp, and ssh access. The proper ports have =
been forwarded to the freebsd server from the firewall on the Comcast =
connection.  My problem is when the default route is set to go over the =
wifi, i cannot access the server from the comcast modem address. When my =
default route is set to go over the modem, my server is accessible to =
the outside world.

Due to the nature of the torrent-dameon i am using. I must have the =
default route go over the wifi connection. Is there a route i can add =
that will fix my problem?=20

Thanks for your help.
Jordan

=
--------------------------------------------------------------------------=
------------------------------------------------------------------
ifconfig output:
fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	options=3D2009<RXCSUM,VLAN_MTU,WOL_MAGIC>
	ether 00:12:3f:a4:59:ef
	inet 10.0.1.5 netmask 0xffffff00 broadcast 10.0.1.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3D3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4=20
	inet6 ::1 prefixlen 128=20
	inet 127.0.0.1 netmask 0xff000000=20
	nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	ether 00:1e:e5:ff:1d:49
	inet 1.1.3.153 netmask 0xffffff00 broadcast 1.1.3.255
	media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11g
	status: associated
	ssid "Elms D South" channel 9 (2452 MHz 11g) bssid =
00:16:01:59:e4:c0
	regdomain FCC indoor ecm authmode OPEN privacy ON deftxkey 1
	wepkey 1:40-bit txpower 27 bmiss 7 scanvalid 450 bgscan
	bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode =
CTS
	wme burst roaming MANUAL
=
--------------------------------------------------------------------------=
------------------------------------------------------------------
The boxes routing table is as follows:

Internet:
Destination        Gateway            Flags    Refs      Use  Netif =
Expire
default            1.1.3.1            UGS      2245   253352  wlan0		=
		<-------- Wireless=20
1.1.3.0/24         link#5             U           1      421  wlan0
1.1.3.153          link#5             UHS         0        0    lo0
10.0.1.0/24        link#2             U           2     6098   fxp0
10.0.1.5           link#2             UHS         0        0    lo0		=
			<--------- Comcast
127.0.0.1          link#4             UH          0       34    lo0

Internet6:
Destination                       Gateway                       Flags    =
  Netif Expire
::1                               ::1                           UH       =
   lo0
fe80::%lo0/64                     link#4                        U        =
   lo0
fe80::1%lo0                       link#4                        UHS      =
   lo0
ff01:4::/32                       fe80::1%lo0                   U        =
   lo0
ff02::%lo0/32                     fe80::1%lo0                   U        =
   lo0
=
--------------------------------------------------------------------------=
------------------------------------------------------------------




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?EE1D61C0-76D3-4CF2-BA74-AA3AF15FBC83>