/[pxelator]/bin/lib.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

Annotation of /bin/lib.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 454 - (hide annotations)
Sat Jan 2 14:04:42 2010 UTC (11 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 278 byte(s)
configure virtual to 172.16.10.1

1 dpavlin 437 #!/bin/sh -x
2    
3     sudo modprobe 8021q
4     sudo vconfig add eth0 63
5     sudo ifconfig eth0.63 10.60.4.9 netmask 255.255.252.0 up
6 dpavlin 454
7     sudo ifconfig virtual 172.16.10.1 netmask 255.255.255.0 up
8     sudo iptables -t nat -A POSTROUTING -s 172.16.10.1/24 -o eth0 -j MASQUERADE
9    
10 dpavlin 437 exec sudo ./bin/start.sh

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26