Professional Documents
Culture Documents
1. Client negotiates PPPoE using PADo, PADi and PADr with the server, both client and
server move into PPP-->LCP phase
2. Client/Server negotiate authentication, other parameters
3. Server asks the client for a username/password (using pap, as pap is configured before
chap)
4. Client sends out a username/password configured in it's dialer
5. Server authenticates this username/password against its global username/password list
(alternatively a AAA/Radius server)
6. Client and Server both move on to IPCP phase
7. Client sends an ip address of 0.0.0.0 (asking for an ip address from the Server)
8. Server hands out an IP address from its pool (in this case pppoepool)
9. Client/Server finish IPCP phase and the link comes up
At this time, the link should be up and able to pass traffic
PPPoE Configuration:
Device setting:
https://poundcomment.wordpress.com/2011/03/30/pppoe-server-on-ubuntu/
┌────────────────────────────────────────────────────────────────────┐
│ • MobaXterm 8.4 • │
│ (SSH client, X-server and networking tools) │
│ │
│ ➤ SSH session to root@10.115.52.214 │
│ • SSH compression : ✔ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ • DISPLAY : ✔ (automatically set on remote server) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website │
└────────────────────────────────────────────────────────────────────┘
* Documentation: https://help.ubuntu.com/
USER NAME
INTERFACE
USER NAME
INTERFACE
DNS
PASSWORD
FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
# Enable IP Forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# Enable IP Forwarding
echo 2 > /proc/sys/net/ipv4/ip_forward
# Disable IP Forwarding
echo 0 > /proc/sys/net/ipv4/ip_forward
Debug.py interfaces didn’y display the two wan interface(GE5 & GE6) created.
velocloud b1-edge1:~#
velocloud b1-edge1:~#
velocloud b1-edge1:~#
velocloud b1-edge1:~# debug.py --interfaces
[
{
"advertise": false,
"ip_addr": "169.254.7.10",
"logical_name": "GE4",
"netmask": "255.255.255.248",
"nhop": "169.254.7.9",
"physical_name": "eth0",
"rpf": "SPECIFIC",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [],
"trusted": false,
"type": "WAN",
"underlay_accounting": true,
"up": true
},
{
"advertise": false,
"ip_addr": "172.16.1.2",
"logical_name": "GE6",
"netmask": "255.255.255.248",
"nhop": "172.16.1.3",
"physical_name": "eth4",
"rpf": "SPECIFIC",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [
{
"advertise": false,
"ipaddr": "172.17.1.2",
"nat_direct": true,
"netmask": "255.255.255.248",
"nhop": "172.17.1.3",
"ospf_enabled": false,
"rpf": "SPECIFIC",
"segment_id": 1,
"trusted": false,
"vlan_id": 100
},
{
"advertise": false,
"ipaddr": "172.18.1.2",
"nat_direct": true,
"netmask": "255.255.255.248",
"nhop": "172.18.1.3",
"ospf_enabled": false,
"rpf": "SPECIFIC",
"segment_id": 2,
"trusted": false,
"vlan_id": 101
}
],
"trusted": false,
"type": "WAN",
"underlay_accounting": true,
"up": true
},
{
"advertise": false,
"ip_addr": "169.254.9.3",
"logical_name": "GE3",
"netmask": "255.255.255.248",
"nhop": "169.254.9.2",
"physical_name": "eth5",
"rpf": "SPECIFIC",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [],
"trusted": false,
"type": "WAN",
"underlay_accounting": true,
"up": true
},
{
"advertise": false,
"ip_addr": "172.16.1.10",
"logical_name": "GE7",
"netmask": "255.255.255.248",
"nhop": "172.16.1.11",
"physical_name": "eth6",
"rpf": "SPECIFIC",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [
{
"advertise": false,
"ipaddr": "172.17.1.10",
"nat_direct": true,
"netmask": "255.255.255.248",
"nhop": "172.17.1.11",
"ospf_enabled": false,
"rpf": "SPECIFIC",
"segment_id": 1,
"trusted": false,
"vlan_id": 100
},
{
"advertise": false,
"ipaddr": "172.18.1.10",
"nat_direct": true,
"netmask": "255.255.255.248",
"nhop": "172.18.1.11",
"ospf_enabled": false,
"rpf": "SPECIFIC",
"segment_id": 2,
"trusted": false,
"vlan_id": 101
}
],
"trusted": false,
"type": "WAN",
"underlay_accounting": true,
"up": true
},
{
"advertise": false,
"ip_addr": "10.0.1.2",
"logical_name": "br-management",
"netmask": "255.255.255.255",
"nhop": "0.0.0.0",
"physical_name": "br-management",
"rpf": "DISABLED",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [],
"trusted": false,
"type": "LAN",
"underlay_accounting": false,
"up": true
},
{
"advertise": false,
"ip_addr": "10.0.1.1",
"logical_name": "br-network1",
"netmask": "255.255.255.0",
"nhop": "0.0.0.0",
"physical_name": "br-network1",
"rpf": "DISABLED",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [],
"trusted": false,
"type": "LAN",
"underlay_accounting": false,
"up": true
},
{
"advertise": false,
"ip_addr": "10.100.1.1",
"logical_name": "br-network100",
"netmask": "255.255.255.0",
"nhop": "0.0.0.0",
"physical_name": "br-network100",
"rpf": "DISABLED",
"secondaryips": [],
"segment_id": 1,
"subinterfaces": [],
"trusted": false,
"type": "LAN",
"underlay_accounting": false,
"up": true
},
{
"advertise": false,
"ip_addr": "10.101.1.1",
"logical_name": "br-network101",
"netmask": "255.255.255.0",
"nhop": "0.0.0.0",
"physical_name": "br-network101",
"rpf": "DISABLED",
"secondaryips": [],
"segment_id": 2,
"subinterfaces": [],
"trusted": false,
"type": "LAN",
"underlay_accounting": false,
"up": true
},
{
"advertise": false,
"ip_addr": "169.254.6.35",
"logical_name": "GE5",
"netmask": "255.255.255.255",
"nhop": "0.0.0.0",
"physical_name": "pppoe-GE5",
"rpf": "SPECIFIC",
"secondaryips": [],
"segment_id": 0,
"subinterfaces": [],
"trusted": false,
"type": "IP_WAN",
"underlay_accounting": false,
"up": true
}
]
velocloud b1-edge1:~#
_ __ __ ________ __
| | / /__ / /___ / ____/ /___ __ ______/ /
| | / / _ \/ / __ \/ / / / __ \/ / / / __ /
| |/ / __/ / /_/ / /___/ / /_/ / /_/ / /_/ /
|___/\___/_/\____/\____/_/\____/\__,_/\__,_/
VeloCloud Inc.
------------------------------------------------
velocloud b1-edge1:~#
velocloud b1-edge1:~#
velocloud b1-edge1:~# ifconfig
br-management Link encap:Ethernet HWaddr 26:87:EC:80:9D:61
inet addr:10.0.1.2 Bcast:255.255.255.255 Mask:255.255.255.255
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
velocloud b1-edge1:~#
velocloud b1-edge1:~#
Once session established, you would be able to see the acquired PPPoE IP address: