source: trunk/packages/sipb-xen-dom0/sipb-xen-dom0/debian/sipb-xen-dom0.init @ 87

Last change on this file since 87 was 87, checked in by hartmans, 17 years ago
  • Add qemu-dm-sipb written by andersk to get us the domain ID in qemu-ifup
  • Add vif-sipbroute, a version of vif-route that does better netwwork isolation and has initial but useless ipv6 support. This version also uses arpspoof to take over an address for domain migrations.
  • Add init script to enable rp_filter, proxy_arp and forwarding for the network config.
File size: 240 bytes
Line 
1#!/bin/sh
2set -e
3
4case $1 in
5    start)
6    for foo in all default; do
7    echo 1 >/proc/sys/net/ipv4/conf/$foo/rp_filter
8    echo 1 >/proc/sys/net/ipv4/conf/$foo/proxy_arp
9    done
10    echo 1>/proc/sys/net/ipv4/ip_forward
11    ;;
12    esac
Note: See TracBrowser for help on using the repository browser.