Messages in this thread | | | Date | Tue, 06 Mar 2001 22:50:37 -0800 | From | David <> | Subject | Re: conducting TCP sessions with non-local IPs |
| |
> So, if I configure the interface as suggested ("/sbin/ip addr add > 10.0.0.0/24 dev eth0") can I really bind to any IP in 10.0.0.0/24 and > conduct TCP sessions (as a client or server) using that IP--assuming all > the ARP, etc, issues are worked out?
hostA: ip a a 10.0.0.0/24 brd + dev lo hostB: ip r a 10.0.0.0/24 dev eth0
hostB: telnet 10.0.0.27 <connected as normal>
hostB: ssh 10.0.0.91 <connected as normal>
'tis a little magic I like. nothing special needed anywhere. does that help?
-d
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |