On Thursday 07 June 2007 17:05:51 Erez D wrote:
> try:
> ifconfig ppp0:1 <second ip adress> up
That is about the same as the first thing I've done (as mentioned below), and
has no effect.
> > IPs to the ppp0 link using any of these methods:
> > ip a add <ip> dev ppp0
On Thursday 07 June 2007 18:31:15 Moshe Leibovitch wrote:
> Alias the net card ( e.g., ifconfig ethx:0 ethx:1 etc.) and then
> have some quality time with iptables.
I'm aware of how to use aliases with network cards, unfortunately it doesn't
appear to work the same way with PPP tunnels. After assigning the alias, the
output from 'ip addr' is:
20: ppp0: <POINTOPOINT,MULTICAST,UP> mtu 1492 qdisc htb
link/ppp
inet <pppoe assigned IP> peer 212.143.205.170/32 brd <pppoe assigned IP>
scope global ppp0
inet <additional IP> peer 212.143.205.170/32 brd <additional IP> scope
global secondary ppp0
I can see sshd listening 0.0.0.0:22 so I'm assuming that I could just ssh to
the new IP, but no luck there. I can ssh to the original address.
--
Oded
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]