Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 171 Bytes
#!/bin/bash
ifconfig eth2 192.168.7.1 netmask 255.255.255.0
echo "1" > /proc/sys/net/ipv4/ip_forward
sysctl -w net.ipv4.ip_forward=1
route add -host 192.168.254.101 eth2