---
# System prepended metadata

title: Mininent1 basic

---

# Mininent1 basic 



## mn 

啟動 Mininet

Topology 

![](https://i.imgur.com/CtqYBXX.png)

switch initial ID 從 1 開始

Host initial ID 從 0 開始

---

![](https://i.imgur.com/AWbzcNZ.png)



## Command

### net 

![](https://i.imgur.com/qTLKEM8.png)

List network connections. 

### xterm

Open host terminal 


```
xterm h1
```

![](https://i.imgur.com/WQ6B5ME.png)


### \<host> "Command"


e.g. 

```
h1 ifconfig
```


### pingall 

測試 node 之間的Connection

