This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:network [2017/09/18 17:36] frank |
linux:network [2017/09/18 17:37] (current) frank |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| add default gateway | add default gateway | ||
| - | <code> | + | <code bash> |
| - | ip route add default via 192.168.0.1 | + | # ip route add default via 192.168.0.1 |
| </code> | </code> | ||
| - | |||
| - | === References === | ||
| set vf mac | set vf mac | ||
| Line 38: | Line 36: | ||
| # ip link set dev eth0 vf 0 mac 24:8a:07:55:46:f0 | # ip link set dev eth0 vf 0 mac 24:8a:07:55:46:f0 | ||
| </code> | </code> | ||
| + | |||
| + | === References === | ||
| + | |||
| + | |||
| http://maxubuntu.blogspot.com/search/label/Network | http://maxubuntu.blogspot.com/search/label/Network | ||