I meant that shorewall is not running yet because i cant access the bridge
via its ip address not because of configuration problem
Thanks
-----Mensaje original-----
De: shorewall-users-bounces@lists.sourceforge.net
[mailto:shorewall-users-bounces@lists.sourceforge.net] En nombre de Fernando
Rodriguez
Enviado el: Sábado, 24 de Febrero de 2007 11:17 a.m.
Para: shorewall-users@lists.sourceforge.net
Asunto: [Shorewall-users] Bridge Issue
Hello,
I know this is not the best list for this but since the plan of this bridge
is to use shorewall maybe some one can help me on this issue
I have set up a bridge with the following script that starts after the
network interfaces are started
BRIDGENAME="BRQ"
GATEWAY="192.168.0.1"
BRIDGE_IP="192.168.0.122"
BRIDGE_NETMASK="255.255.255.0"
STP_ON="yes"
STP_PRIO="1"
RETVAL=0
start() {
echo "Starting service bridge"
ifconfig eth2 promisc up
ifconfig eth3 promisc up
brctl addbr $BRIDGENAME || return=$rc_failed
brctl addif $BRIDGENAME eth2 || return=$rc_failed
brctl addif $BRIDGENAME eth3 || return=$rc_failed
ifconfig eth2 0.0.0.0 || return=$rc_failed
ifconfig eth3 0.0.0.0 || return=$rc_failed
brctl sethello $BRIDGENAME 1 || return=$rc_failed
brctl setmaxage $BRIDGENAME 4 || return=$rc_failed
brctl setfd $BRIDGENAME 4 || return=$rc_failed
brctl stp $BRIDGENAME $STP_ON
brctl setbridgeprio $BRIDGENAME $STP_PRIO
ifconfig $BRIDGENAME $BRIDGE_IP netmask $BRIDGE_NETMASK up
ip route flush cache
ip route add default via $GATEWAY
But the problem i have is that i am not able to contact the bridge on its IP
192.168.0.122 i am running Centos 4.4 on a 2.6.18 kernel, i have tested this
setup on 3 different sets of network cards tg3, b44, via-rhine and in all of
them i have the same results no connection, i know the bridge is working
otherwise packets couldnt flow on the network, im using bridge utils 1.0.4-4
Shorewall is still not running.
If any one knows what could be wrong??
Thanks
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net''s
Techsay panel and you''ll get the chance to share your opinions on IT
&
business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net''s Techsay panel and you''ll get the chance
to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV