Script to create bridge for KVM configuration
#!/bin/bash
brctl addbr br0
ifconfig br0 9.126.138.64 netmask 255.255.255.0 up
route add default gw 9.126.138.1 br0
ifconfig eth0 0.0.0.0 up
brctl addif br0 eth0
brctl addbr br0
ifconfig br0 9.126.138.64 netmask 255.255.255.0 up
route add default gw 9.126.138.1 br0
ifconfig eth0 0.0.0.0 up
brctl addif br0 eth0
Comments
Post a Comment