Article directory
foreword
The complete routing structure made by myself, I hope that the family members who feel helpful will like it. No nonsense, open up.
1. EVE simulator device selection
Choose 6 routers, 3 switches, and 4 virtual terminals
2. Routing topology
1. Simple topology
Connect according to the figure below, and the host interface should not be connected incorrectly. Select R6 to change its icon to a server, as an external network
2. Detailed routing notes
这一步主要作用就是怕配错,不要偷懒,一定标注,后面出问题容易修改。
First open all nodes, just that and then start all nodes
complete the routing topology
3. Detailed configuration
1. R1 configuration
2. R2 configuration
3. R3 configuration
4. R4 configuration
5. R5 configuration
6. server configuration
7. pc1 configuration
8. pc2 configuration
9. pc3 configuration
10. pc4 configuration
4. Interpretation of commands
en全拼写就是enable进入特权模式
conf t is configure terminal
to enter the configuration interface
do show ip int b is to view the port status, the full spelling is do show ip intface brief
do show run | sre is to view the running eigrp routing configuration, the full spelling is to
do show run | section router eigrp
mention a sentence to configure ospf is to replace eigrp with ospf
do show run int e0 /0 View commands running on port e0/0, such as route summarization. This int is also an abbreviation.
ip add is address addition. followed by the ip address. It's all written on ip address
the picture, so I won't say much.
router eigrp 100
Enter the eigrp routing configuration of process number 100, and the routing process number of a slice is the same.
no au
Do not automatically summarize routes
· do show ip router eigrp · display eigrp routing table
ip summary-address
is route summary, manual.
·eigrp 100 stub con·is a stub network, only directly connected to access the stub network.
There are many more that I will not explain one by one. If you are interested, you can use the command +? option after viewing
5. Test results
The png external network
is successful, and the nat is successful.
Ping the internal network
successfully.
Route summary
found 191.3.0.0/22, and the route summary was successful.
R2 cannot ping R4, but R3 can, and the stub connected mode is successful.
6. Expansion
This experiment uses eigrp. In fact, the process of using ospf is the same, but the commands are different, and they have something in common. Including nat is also dynamic, and routing retransmission between different routing protocols is not shown. Let's show Senat. Interested friends can try it. At the same time, the three modes of stub are not introduced. Also, the switch trunk and vp mode are not introduced, so I am too lazy to fix it. Send nat, nat is as follows
Dynamic nat transformation
access-list 1 permit 192.168.1.0 0.0.0.255 //Need to transform the internal address
ip nat pool 123 100.1.1.11 100.1.1.12 netmask 255.255.255.0//Transformed external address.
ip nat inside source list 1 pool 123//Convert internal and external addresses
Int e0/0
Ip Nat inside
Int e0/1
Ip Nat outside
Pat
access-list 1 permit 192.168.1.0 0.0.0.255 //Need to convert the internal address ------ matching function
ip nat inside source list 1 interface Ethernet 0/1 overload
to convert all the internal addresses filtered out by acl into those provided by ISP a public address of
In actual work, the public network address provided by the ISP is often set on the outbound interface of the company network.
In NAT address translation, it is important to distinguish the direction of the interface.
Int e0/0
Ip Nat inside
Int e0/1
Ip Nat outside
7. Summary
This is what I summarized. I hope that the brothers who feel helpful will like it. Every upvote is an affirmation to me! Like it or not, you will get rich! Goodbye, brother.