15.5.07

dvb set routing

dvb set routing

*nat
:PREROUTING ACCEPT [1624:115710]
:POSTROUTING ACCEPT [1:124]
:OUTPUT ACCEPT [247:18549]
#-A POSTROUTING -d 202.0.0.0/255.0.0.0 -j SNAT --to-source 61.8.75.28
#-A POSTROUTING -d 61.8.64.0/255.255.240.0 -j SNAT --to-source 61.8.75.28
#-A POSTROUTING -d 203.130.192.0/255.255.224.0 -j SNAT --to-source 61.8.75.28
-A POSTROUTING -d 202.0.0.0/255.0.0.0 -j SNAT --to-source 222.124.182.35
-A POSTROUTING -d 61.8.64.0/255.255.240.0 -j SNAT --to-source 222.124.182.35
-A POSTROUTING -d 203.130.192.0/255.255.224.0 -j SNAT --to-source 222.124.182.35
-A POSTROUTING -d 0.0.0.0/0.0.0.0 -j SNAT --to-source 202.51.63.82


[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:E9:F0:32:DB
inet addr:10.0.160.254 Bcast:10.0.160.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4945 errors:0 dropped:0 overruns:0 frame:0
TX packets:5426 errors:405 dropped:0 overruns:0 carrier:810
collisions:35 txqueuelen:100
RX bytes:989404 (966.2 Kb) TX bytes:4213947 (4.0 Mb)
Interrupt:11

eth1 Link encap:Ethernet HWaddr 00:15:E9:6A:23:7F
inet addr:222.124.182.35 Bcast:222.124.182.39 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2233 errors:0 dropped:0 overruns:0 frame:0
TX packets:6551 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:564876 (551.6 Kb) TX bytes:1140146 (1.0 Mb)
Interrupt:5 Base address:0x2000

eth1:1 Link encap:Ethernet HWaddr 00:15:E9:6A:23:7F
inet addr:202.51.63.82 Bcast:202.51.63.87 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:5 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:296 (296.0 b) TX bytes:296 (296.0 b)

pentaval0 Link encap:Ethernet HWaddr 00:30:6A:80:B8:2F
inet addr:10.1.1.2 Bcast:255.255.255.255 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5658 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4394629 (4.1 Mb) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xd000

[root@localhost root]# more /etc/sysconfig/network-scripts/ifcfg-eth1:1
DEVICE=eth1:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=202.51.63.82
NETMASK=255.255.255.248

[root@localhost root]# more /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
#IPADDR=61.8.75.28
#IPADDR=10.0.150.254
IPADDR=222.124.182.35
NETMASK=255.255.255.248
# GATEWAY=61.8.75.25
GATEWAY=222.124.182.33

zte c300 trunk mode

  gpon   profile tcont PPPOE type 4 maximum 9900000   profile tcont 100M type 4 maximum 100000   profile tcont 50M-TRUNK type 4 maximum 5000...