[CentOS] Addressing outgoing connections to a specific interface
Markus Falb
markus.falb at fasel.at
Sat Nov 6 14:29:22 UTC 2010
On 06.11.10 15:13, Dotan Cohen wrote:
> To be more specific: I am connected to the internet via wlan0. When I
> type 192.168.0.1 into my web browser, I get the web control panel of
> the Linksys router that manages that wireless network. However, at the
> moment I need to access the web control panel of the D-Link router
> that manages my eth0 LAN, also on 192.168.0.1 but on the eth0
> interface. How can this be done?
Set a temporary additional route
#$ ip ro add 192.168.0.1/32 dev eth0
You can get rid of it again with
#$ ip ro del 192.168.0.1
However, maybe you really should get rid of such "doubled" adresses or
networks.
--
Best Regards,
Markus Falb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20101106/b7bc7c9f/attachment.sig>
More information about the CentOS
mailing list