mirror of https://github.com/F-Stack/f-stack.git
Update Launch_F-Stack_on_AWS_EC2_in_one_minute.md
This commit is contained in:
parent
c8722d26ac
commit
1ce9d61a4e
|
@ -63,7 +63,7 @@
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# offload NIC
|
# offload NIC(if there is only one NIC,the follow commands must run in a script)
|
||||||
ifconfig eth0 down
|
ifconfig eth0 down
|
||||||
python /data/f-stack/dpdk/tools/dpdk-devbind.py --bind=igb_uio eth0
|
python /data/f-stack/dpdk/tools/dpdk-devbind.py --bind=igb_uio eth0
|
||||||
|
|
||||||
|
@ -74,4 +74,4 @@
|
||||||
# start kni
|
# start kni
|
||||||
sleep 30
|
sleep 30
|
||||||
ifconfig veth0 ${myaddr} netmask ${mymask} broadcast ${mybc} hw ether ${myhw}
|
ifconfig veth0 ${myaddr} netmask ${mymask} broadcast ${mybc} hw ether ${myhw}
|
||||||
route add -net 0.0.0.0 gw ${mygw} dev veth0
|
route add -net 0.0.0.0 gw ${mygw} dev veth0
|
||||||
|
|
Loading…
Reference in New Issue