Página 1 de 1

3.218 default gateway problem

MensagemEnviado: Qui Fev 04, 2010 11:51 pm
por eric520
Hello all,
I try BFW 3.218 today. Its good ...

I find there are no default getway on the outgoing inferface ... while start the BFW

[brazilfw]/# ip route
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254
192.168.152.0/24 dev eth0 proto kernel scope link src 192.168.152.114

I trace the /etc/rc.d/rc.inet

"ip route del default via 192.168.152.254 proto static table 1" . the command success but no default route .

I try

"ip route del default via 192.168.152.254 proto static table 0" . the command success and ip route as following; (that's right)

[brazilfw]/# ip route
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254
192.168.152.0/24 dev eth0 proto kernel scope link src 192.168.152.114
default via 192.168.152.254 dev eth0 proto static

I change rc.inet as following:

#!/bin/sh
# rc.inet script by Washington Rodrigues 2010 #

. /etc/brazilfw/brazilfw.cfg
. /lib/system-functions

if [ -n "$SSH_TTY" -a -z "$APP_NAME" ]; then
echo "The network will be reset in a few seconds..."
echo "" > /tmp/network.reload
exit
fi

inetCount=0 <<-----------------------Here
IPCOUNT=1

hide_kernel_message

write_info_net() {
echo "LINK_TYPE='$LINK_TYPE'
LINK_CONNECTION='$LINK_CONNECTION'
PHYSICAL_ALIAS='$LINK_ALIAS'
IPADDR='$LINK_IP'
NETMASK='$PREFIX'

but , this will lose at the next boot .... It should change the boot file system ....

Re: 3.218 default gateway problem

MensagemEnviado: Sex Fev 05, 2010 1:03 pm
por cmartin
eric520 escreveu:Hello all,
I try BFW 3.218 today. Its good ...

I find there are no default getway on the outgoing inferface ... while start the BFW

[brazilfw]/# ip route
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254
192.168.152.0/24 dev eth0 proto kernel scope link src 192.168.152.114

I trace the /etc/rc.d/rc.inet

"ip route del default via 192.168.152.254 proto static table 1" . the command success but no default route .

I try

"ip route del default via 192.168.152.254 proto static table 0" . the command success and ip route as following; (that's right)

[brazilfw]/# ip route
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254
192.168.152.0/24 dev eth0 proto kernel scope link src 192.168.152.114
default via 192.168.152.254 dev eth0 proto static

I change rc.inet as following:

#!/bin/sh
# rc.inet script by Washington Rodrigues 2010 #

. /etc/brazilfw/brazilfw.cfg
. /lib/system-functions

if [ -n "$SSH_TTY" -a -z "$APP_NAME" ]; then
echo "The network will be reset in a few seconds..."
echo "" > /tmp/network.reload
exit
fi

inetCount=0 <<-----------------------Here
IPCOUNT=1

hide_kernel_message

write_info_net() {
echo "LINK_TYPE='$LINK_TYPE'
LINK_CONNECTION='$LINK_CONNECTION'
PHYSICAL_ALIAS='$LINK_ALIAS'
IPADDR='$LINK_IP'
NETMASK='$PREFIX'

but , this will lose at the next boot .... It should change the boot file system ....


Are you really sure? There is something wrong with your configuration files.
Post your setup config here, and then we can help you.

[]'s

Re: 3.218 default gateway problem

MensagemEnviado: Dom Fev 21, 2010 12:35 pm
por eric520
Yes , it's that of the version 3.0.218

but the Version: 3.0.220 was no problem. Thanks !!