- Mastering Python Networking
- Eric Chou
- 203字
- 2021-07-02 21:42:34
VIRL tips
The VIRL website offers lots of great instruction and documentation. I also find the community generally offers quick and accurate help. I will not repeat the information already offered in those two places; however, here are some of the setups I use for the code in this book:
- VIRL uses two virtual Ethernet interfaces for connections. The first interface is set up as NAT for the host machine's Internet connection, and the second is used for local management interface connectivity (VMWare Fusion VMnet2 in the following example). I use a virtual machine with a similar network setup in order to run my Python code, with first Ethernet used for Internet and the second Ethernet connected to Vmnet2:

VMnet2 is a custom network created to connect the Ubuntu host with the VIRL virtual machine:

- In the Topology Design option, I set the Management Network option to Shared Flat Network in order to use VMnet2 as the management network on the virtual routers:

- Under the node configuration, you have the option to statically configure the management IP. I always statically set the IP address instead of what is dynamically assigned by the software, so I can easily get to the device without checking:

推薦閱讀
- 深入理解Android(卷I)
- Web前端開(kāi)發(fā)技術(shù):HTML、CSS、JavaScript(第3版)
- Bootstrap Site Blueprints Volume II
- JavaScript+DHTML語(yǔ)法與范例詳解詞典
- Python語(yǔ)言程序設(shè)計(jì)
- MongoDB for Java Developers
- Visual Basic程序設(shè)計(jì)教程
- Python應(yīng)用輕松入門(mén)
- 數(shù)據(jù)結(jié)構(gòu)(C語(yǔ)言)
- JavaScript入門(mén)經(jīng)典
- Arduino可穿戴設(shè)備開(kāi)發(fā)
- 進(jìn)入IT企業(yè)必讀的324個(gè)Java面試題
- 會(huì)當(dāng)凌絕頂:Java開(kāi)發(fā)修行實(shí)錄
- C#程序設(shè)計(jì)基礎(chǔ)入門(mén)教程
- Python應(yīng)用與實(shí)戰(zhàn)