SHOW:
|
|
- or go back to the newest paste.
1 | root@vps43466:~# ip route show | |
2 | ||
3 | default via 37.XXX.87.254 dev eth0 | |
4 | 37.XXX.87.0/24 dev eth0 proto kernel scope link src 37.XXX.87.144 | |
5 | - | 37.XXX.235.0/24 dev eth0 proto kernel scope link src 37.XXX.235.0 |
5 | + | |
6 | ||
7 | ||
8 | root@vps43466:~# wget --bind-address=37.XXX.235.157 -qO- http://ipecho.net/plain ; echo | |
9 | ||
10 | 37.XXX.87.144 | |
11 | ||
12 | ||
13 | inside networking config - | |
14 | ||
15 | eth0 Link encap:Ethernet HWaddr 02:YY:90 | |
16 | - | post-up /sbin/ifconfig eth0:2 37.XXX.235.157 netmask 255.255.255.255 broadcast 37.XXX.235.157 |
16 | + | inet addr:37.XXX.87.144 Bcast:37.XXX.87.255 Mask:255.255.255.0 |
17 | - | post-down /sbin/ifconfig eth0:2 down |
17 | + | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
18 | RX packets:453668279 errors:0 dropped:34042 overruns:0 frame:0 | |
19 | TX packets:793710446 errors:0 dropped:0 overruns:0 carrier:0 | |
20 | collisions:0 txqueuelen:1000 | |
21 | RX bytes:92408895015 (92.4 GB) TX bytes:130910031665 (130.9 GB) | |
22 | ||
23 | ||
24 | eth0:2 Link encap:Ethernet HWaddr 02:YY:90 | |
25 | inet addr:37.XXX.235.157 Bcast:37.XXX.235.157 Mask:255.255.255.255 | |
26 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
27 | ||
28 | ||
29 | *.144 is the main ip | |
30 | *.157 is a failover ip |