1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-22 08:33:24 -05:00

9 lines
245 B
Bash
Executable File

#!/bin/bash
# This is what I use to set-up the network from within uml using tap. Edit it to
# your own requirments
ifconfig eth0 192.168.1.2 up
route add -net 192.168.1.0 gw 192.168.1.5 netmask 255.255.255.0
route add default gw 192.168.1.5