"route add" how it behaves
Kather Rafi -TLS,Chennai
katherrafi at hcl.in
Tue Feb 13 16:43:12 UTC 2007
Hi all,
I am new to FreeBSD.
I want to know how the "route add " is working for the network routes
and host routes in the case of with out specifying the gateway.
In linux we can add like "route add -host 10.0.12.24 eth0" but in
FreeBSD it should be like "route add -host 10.0.12.24 -iface fxp0"
I want to know
1. how the flag -iface provides gateway to the route inside
the kernel.?
2. If it does not provide the gateway address how it
identifies the ifaddr inside the kernel (ie interface address for the
particular interface)?
Thanks and Regards ,
Kather Rafi Ibrahim
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
More information about the freebsd-net
mailing list