cnp3 / ipmininet

Mininet extension to make experimenting with IP networks easy
GNU General Public License v2.0
65 stars 51 forks source link

the default port of bgpd is set as 1? how to modify it #101

Closed py0ker closed 3 years ago

py0ker commented 3 years ago

generally the bgpd port is 179, however i see it is set as 1 by netstat -anpt And i debug the __route.py, I see this: it seems that port is 179 (Pdb) p d.startup_line 'bgpd -f /tmp/bgpd_as1ra.cfg -i /tmp/bgpd_as1ra.pid -z /tmp/quagga_as1ra.api -u root -p 179' (Pdb) n but when I run xterm as1r1 and netstat -anpt, there is not 179 open, just 1, 2605 for bgpd, and 2601 for zebrad how to modify it, thanks

py0ker commented 3 years ago

because I change the code to split -k, at the same time, it splits 179 to 1