Re: lug-bg: freebsd ??
- Subject: Re: lug-bg: freebsd ??
- From: Viktor Vasilev <viktor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Nov 2003 22:10:04 +0100
- Mail-followup-to: lug-bg@xxxxxxxxxxxxxxxxxx
On Mon, Nov 03, 2003 at 09:40:40PM +0200, Peter Zyumbilev wrote:
> Zdraveite,
> Tova script za linux koito si raboti perfektno:
>
> touch /var/lock/subsys/local
> sleep 5
> /sbin/ifconfig eth0 down
> sleep 1
> /sbin/ifconfig eth0 193.108.24.75 netmask 255.255.255.255 up
> sleep 2
> /sbin/route add -host 193.108.24.145 eth0
> /sbin/route add default gw 193.108.24.145
> /sbin/route add -net 192.168.17.0/24 eth0
>
> Posmartno ne mojah da naprvaia sastoto za freebsd. Znam che problema e v
> ustroitsvoto deto stoi pred keyboarad no vse pak..
> ifconfig fxp0 down
> ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up
FreeBSD izpolzva maska 255.255.255.255 za IP aliasing.
> route add -host 193.108.24.75 193.108.24.145 255.255.255.255
> ili
> route add -host 193.108.24.75 193.108.24.145
> posmatno ne moja da tragne
ouch :) iskash da stigash do lokalniq interface prez gateway? :)
> ako napravai samo
> route add -host 193.108.24.75 193.108.24.145 255.255.255.255
> bez
> ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up
> stava ma togava niama net :)
>
> >route add -host 193.108.24.75 193.108.24.145 255.255.255.255
> Tova mi vika network unrechable.
otnovo - lokalniq interface prez gateway?
poluchavash syobshtenieto network unreachable, zashtoto s tazi net maska
kernela ne znae, che na fxp0 visi mreja, kydeto shte nameri 193.108.24.145.
ako 193.108.24.75 i 193.108.24.145 sa v edin subnet ot primerno 255 hosta,
bi trqbvalo da napravish neshto podobno:
# 193.108.24.0/24 visi na toq interface
ifconfig fxp0 193.108.24.75 netmask 255.255.255.0 up
# sled gorniq red kernela veche moje da nameri 193.108.24.145
route add -net 192.168.17.0/24 193.108.24.145 fxp0
> Cheta man-a - tov stavalo ako gate mi bil na poveche ot edin hop - ama s
> linux kak stava ako e taka?
ne sym siguren zashto raboti pod linux. 255.255.255.255 mi izglejda greshno.
anyway, prodyljavaj da chetesh :)
>
> Pozdravi,
> BIVOL
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|