Re: Addressing outgoing connections to a specific interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux