{Solved} Re: Routing issue?

Ryan Coleman ryan.coleman at cwis.biz
Fri Nov 12 04:06:20 UTC 2010


It didn't work until I bridged the connections.

[root at server /usr/home/ryan]# ifconfig bridge create
bridge0
[root at server /usr/home/ryan]# ifconfig bridge0
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 0a:df:a2:b3:3e:96
	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
	maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
	root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
[root at server /usr/home/ryan]# ifconfig bridge0 addm em0 addm em1 up


On Nov 11, 2010, at 10:00 PM, Gary Gatten wrote:

> What exactly isn't working? You don't have two L3 nets, but two ips on the same net - nothing to route, except the default.
> 
> ----- Original Message -----
> From: owner-freebsd-questions at freebsd.org <owner-freebsd-questions at freebsd.org>
> To: Free BSD Questions list <freebsd-questions at freebsd.org>
> Sent: Thu Nov 11 21:41:40 2010
> Subject: Routing issue?
> 
> I'm trying to get the other half of my business up on my second IP.
> 
> It's not routing. This is not a multi-homed system, but two IPs in the same subnet.
> 
> 
> [root at server /usr/home/ryan]# netstat -nr 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> default            70.89.123.6        UGS         7     1090    em0
> 70.89.123.0/29     link#1             U           2      837    em0
> 70.89.123.4        link#2             UHS         0       25    lo0
> 70.89.123.5        link#1             UHS         0        0    lo0
> 127.0.0.1          link#5             UH          0      863    lo0
> 
> Internet6:
> Destination                       Gateway                       Flags      Netif Expire
> ::1                               ::1                           UH          lo0
> fe80::%lo0/64                     link#5                        U           lo0
> fe80::1%lo0                       link#5                        UHS         lo0
> ff01:5::/32                       fe80::1%lo0                   U           lo0
> ff02::%lo0/32                     fe80::1%lo0                   U           lo0
> 
> ifconfig_em0="inet 70.89.123.5  netmask 255.255.255.248"
> ifconfig_em1="inet 70.89.123.4 netmask 255.255.255.248"
> defaultrouter="70.89.123.6"
> hostname="se******.somehtingelse.biz"
> 
> 
> I tried to add the gateway for link2 but it's not taking since it already exists, and I've run multiple IP'd servers before without issue.
> 
> I'm really lost._______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> 
> 
> 
> <font size="1">
> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
> </div>
> "This email is intended to be reviewed by only the intended recipient
> and may contain information that is privileged and/or confidential.
> If you are not the intended recipient, you are hereby notified that
> any review, use, dissemination, disclosure or copying of this email
> and its attachments, if any, is strictly prohibited.  If you have
> received this email in error, please immediately notify the sender by
> return email and delete this email from your system."
> </font>
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list