/[cwmp]/google/trunk/scripts/net.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google/trunk/scripts/net.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 206 by dpavlin, Fri Oct 26 16:22:23 2007 UTC revision 207 by dpavlin, Fri Nov 16 18:33:04 2007 UTC
# Line 11  fi Line 11  fi
11  sudo ifconfig $eth down  sudo ifconfig $eth down
12  sudo ifconfig $eth 192.168.1.241 up  sudo ifconfig $eth 192.168.1.241 up
13  # backup network (thompson 10.0.0.138)  # backup network (thompson 10.0.0.138)
14  sudo ifconfig $eth:10 10.0.0.1 up  sudo ifconfig $eth:10 10.0.0.100 up
15  sudo route add -net 192.168.1.240/28 dev $eth  sudo route add -net 192.168.1.240/28 dev $eth
16  echo "Setup of $eth to 192.168.1.90 ready"  echo "Setup of $eth to 192.168.1.90 ready"

Legend:
Removed from v.206  
changed lines
  Added in v.207

  ViewVC Help
Powered by ViewVC 1.1.26