somebody wrote:
adds a default route (which will be used if no other
route matches).
which seems to imply that the existence of an interface does *not* imply
that packets for the corresponding network are routed to it.Do you want to read that man
page again? Or perhaps just those two sentences.
The direct route will be taken unless you are very, very serious, take a good aim,
brace yourself, and then explicitly shoot yourself in the foot. You can do it, but you
probably wouldn't want to do it again.
That course of action was not a part of the thread. Your interpretation of the manual
is wrong.
Regards, nick.
"we have to make sure the old choice [Windows] doesn't disappear”.
Jim Wong, president of IT products, Acer
Date: Mon, 24 May 2010 22:50:08 +0200
From: fons(a)kokkinizita.net
To: ken(a)restivo.org
CC: linux-audio-user(a)lists.linuxaudio.org
Subject: Re: [LAU] Sending audio to another computer
On Mon, May 24, 2010 at 12:09:33PM -0700, Ken Restivo wrote:
If I bring up a local network, say:
$ sudo ifconfig eth0 192.168.42.177 up
The route to that 42 network is added to the
routing table:
$ route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
68.28.49.85 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.42.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 68.28.49.85 0.0.0.0 UG 0 0 0 ppp0
Again, assuming we're keeping it simple and dealing with non-overlapping netmasks, a
local route doesn't have to be added explicitly. Maybe that's what caused the
confusion.
What made me write the previous post was this excerpt from the
route manpage:
route add default gw mango-gw
adds a default route (which will be used if no other route matches). All packets
using this route will
be gatewayed through "mango-gw". The device which will actually be used
for that route depends on how we
can reach "mango-gw" - the static route to "mango-gw" will
have to be set up before.
which seems to imply that the existence of an interface does *not* imply
that packets for the corresponding network are routed to it. Nor, IMHO,
should it - you still may want to route some destinations on that network
via an other way, for whatever reason.
Ciao,
--
FA
O tu, che porte, correndo si ?
E guerra e morte !
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969