Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active January 4, 2017 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pichuang/0db44675625a2a332d4b038fce0006be to your computer and use it in GitHub Desktop.
Save pichuang/0db44675625a2a332d4b038fce0006be to your computer and use it in GitHub Desktop.
OpenNetworkingLinux /mnt/onl/data/rc.boot
#!/bin/bash
ip addr add 192.168.11.2/24 dev ma1
ip route add default via 192.168.11.254
hostname edgecore-5712
echo "nameserver 168.95.1.1" > /etc/resolvconf/resolv.conf.d/base
resolvconf -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment