Posts from July 2006.

Cisco PPPoE client

Quick mini-howto configure PPPoE client on Cisco IOS.

interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1

interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp pap sent-username USERNAME password PASSWORD
ppp ipcp dns request

Ethernet0/1 = interface to PPPoE provider
USERNAME, PASSWORD = your assigned PPPoE username and password

Tested with RDS FTTH, at least with

C2600 Software (C2600-C-M), Version 12.3(19)

Check with show pppoe session, show interface dialer 1.

Do not forget about default route (and NAT if applicable).

Mac OS X 10.4.7 on my iMac

About This Mac


iMac:~$ uname -a
Darwin iMac.local 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386

Cisco nat commands for iChat video conferencing

Ethernet0/1 = outside (public) interface
192.168.0.5 = mac running iChat
tested at least with IOS (tm) C2600 Software (C2600-IO3-M), Version 12.1(27b), RELEASE SOFTWARE (fc1)


ip nat inside source static udp 192.168.0.5 5060 interface Ethernet0/1 5060
ip nat inside source static udp 192.168.0.5 5190 interface Ethernet0/1 5190
ip nat inside source static tcp 192.168.0.5 5190 interface Ethernet0/1 5190
ip nat inside source static udp 192.168.0.5 5297 interface Ethernet0/1 5297
ip nat inside source static tcp 192.168.0.5 5297 interface Ethernet0/1 5297
ip nat inside source static udp 192.168.0.5 5298 interface Ethernet0/1 5298
ip nat inside source static tcp 192.168.0.5 5298 interface Ethernet0/1 5298
ip nat inside source static udp 192.168.0.5 5353 interface Ethernet0/1 5353
ip nat inside source static udp 192.168.0.5 5678 interface Ethernet0/1 5678
ip nat inside source static udp 192.168.0.5 16384 interface Ethernet0/1 16384
ip nat inside source static udp 192.168.0.5 16385 interface Ethernet0/1 16385
ip nat inside source static udp 192.168.0.5 16386 interface Ethernet0/1 16386
ip nat inside source static udp 192.168.0.5 16387 interface Ethernet0/1 16387
ip nat inside source static udp 192.168.0.5 16388 interface Ethernet0/1 16388
ip nat inside source static udp 192.168.0.5 16389 interface Ethernet0/1 16389
ip nat inside source static udp 192.168.0.5 16390 interface Ethernet0/1 16390
ip nat inside source static udp 192.168.0.5 16391 interface Ethernet0/1 16391
ip nat inside source static udp 192.168.0.5 16392 interface Ethernet0/1 16392
ip nat inside source static udp 192.168.0.5 16393 interface Ethernet0/1 16393
ip nat inside source static udp 192.168.0.5 16394 interface Ethernet0/1 16394
ip nat inside source static udp 192.168.0.5 16395 interface Ethernet0/1 16395
ip nat inside source static udp 192.168.0.5 16396 interface Ethernet0/1 16396
ip nat inside source static udp 192.168.0.5 16397 interface Ethernet0/1 16397
ip nat inside source static udp 192.168.0.5 16398 interface Ethernet0/1 16398
ip nat inside source static udp 192.168.0.5 16399 interface Ethernet0/1 16399
ip nat inside source static udp 192.168.0.5 16400 interface Ethernet0/1 16400
ip nat inside source static udp 192.168.0.5 16401 interface Ethernet0/1 16401
ip nat inside source static udp 192.168.0.5 16402 interface Ethernet0/1 16402
ip nat inside source static udp 192.168.0.5 16403 interface Ethernet0/1 16403

Syntax for Huawei routers:
interface Ethernet0/1
ip address GLOBAL_IP GLOBAL_NETMASK
nat outbound ...
nat server protocol udp global GLOBAL_IP 5060 inside 192.168.0.5 5060
nat server protocol ...