brige network setup on slack - stolen from somewhere on the net

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts



#########################
#!/bin/sh

#ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
#ifconfig lo 127.0.0.1 #this line should be uncommented if you don't use rc.inet1

brctl addbr br0

#brctl addif br0 eth0
brctl addif br0 eth1

ifconfig br0 192.168.251.31 netmask 255.255.255.0 up
#route add default gw 192.168.1.1 metric 1 #this line should be uncommented if
                                           #you don't use rc.inet1
#########################

#3) I made rc.brige executable and added the following line to /etc/rc.d/rc.local

#/etc/rc.d/rc.bridge



[æ]