what can i delete from /usr

2004-12-22 Thread goose bla
hello,,

please. i have not big hdd,, and i need to make free place. what can i
remove from /usr  and system will be OK ? 

example:

/usr/ports/distfiles/   - i can remove all files.

in /usr/ports i can do 
rm -rf \*/work/

i can remove 
/usr/src/sys/i386/compile/*after reboot with new kernel.

can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?


--- reklama -
Nerozumiete niektorm slovkam?
http://slovnik.zoznam.sk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DHCP and 2 subnets

2004-12-14 Thread goose bla

no no,,

i have only 1 interface for LAN. and it has two ip address. (inet+allias)(in
real it has 5 alliases, but i need only two subnets for dhcp client pc.
another alliases are for clients with static IP.

- Original Message - 
From:Mike Oliveri [EMAIL PROTECTED]
To:  goose bla [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]
Sent:Sun, 12 Dec 2004 21:44:32 -0600
Subject: Re: DHCP and 2 subnets

 I assume you have two different interfaces on the box, one for each
 box? Judging by the router addresses, these would be 10.1.0.1 and
 10.2.0.1. If the hardware-reserved hosts are connected to the
 appropriate interface, I would guess  the second would be working.
 
 Otherwise, can you put the host declarations in with the subnet
 definitions? It's been a while since I've read through man dhcpd, so
 you might want to take a look at it to be sure.
 
 Take care,
 Mike
 
 
 On Sun, 12 Dec 2004 13:13:22 UT, goose bla [EMAIL PROTECTED]
 wrote:
  hello,
  
  I have router with inet and allias. 10.1.0.0/24 10.2.0.0/24.
  i want allot to pc(client) their IP by their MAC adress. but it's going
 
  only with one subnet. i can allot IP only to one subnet.
  
  this is running
  
  subnet 10.1.0.0 netmask 255.255.255.0 {
  range 10.1.0.31 10.1.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.1.0.1;
  }
  
  host pc1 {
  hardware ethernet 00:33:11:22:bb:94;
  fixed-address 10.1.0.10;
  }
  
  but i need somethink like this:
  
  subnet 10.1.0.0 netmask 255.255.255.0 {
  range 10.1.0.31 10.1.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.1.0.1;
  }
  
  subnet2 10.2.0.0 netmask 255.255.255.0 {
  range 10.2.0.31 10.2.0.60;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name bla.org;
option domain-name-servers 222.222.222.22;
option routers 10.2.0.1;
  
  host pc1 {
  hardware ethernet 00:33:11:22:bb:94;
  fixed-address 10.1.0.10;
  }
  
  host pc2 {
  hardware ethernet 00:44:44:22:bb:94;
  fixed-address 10.2.0.10;
  }
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DHCP and 2 subnets

2004-12-13 Thread goose bla

GREAT, 

it's running for me OK.

Thanks very much.. 

best regards 
goose



- Original Message - 
From:Joerg Pulz [EMAIL PROTECTED]
To:  goose bla [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]
Sent:Mon, 13 Dec 2004 08:03:57 +0100 (CET)
Subject: Re: DHCP and 2 subnets

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Sun, 12 Dec 2004, goose bla wrote:
 
  hello,
 
  I have router with inet and allias. 10.1.0.0/24 10.2.0.0/24.
  i want allot to pc(client) their IP by their MAC adress. but it's going
 
  only with one subnet. i can allot IP only to one subnet.
 
  [stripped]
 
 Hi,
 
 don't know if i got you roght, but here are my thoughts.
 if you want to serve more than one ip network over one physical wire you 
 
 have to define a shared network.
 here is an example. (remeber, host declarations have to be inside! the 
 subnet they belong to)
 
 shared-network MYNETWORK {
 subnet 10.1.0.0 netmask 255.255.255.0 {
 range 10.1.0.31 10.1.0.60;
 default-lease-time 600;
 max-lease-time 7200;
 option subnet-mask 255.255.255.0;
 option domain-name bla.org;
 option domain-name-servers 222.222.222.22;
 option routers 10.1.0.1;
 
 host pc1 {
 hardware ethernet 00:33:11:22:bb:94;
 fixed-address 10.1.0.10;
 }
 }
 
 subnet2 10.2.0.0 netmask 255.255.255.0 {
 range 10.2.0.31 10.2.0.60;
 default-lease-time 600;
 max-lease-time 7200;
 option subnet-mask 255.255.255.0;
 option domain-name bla.org;
 option domain-name-servers 222.222.222.22;
 option routers 10.2.0.1;
 
 host pc2 {
 hardware ethernet 00:44:44:22:bb:94;
 fixed-address 10.2.0.10;
 }
 }
 }
 
 as far as i can tell, this setups work here for me. i don't know the
 exact 
 behavior of dhcpd if you declare dynamic ranges in more than one ip 
 subnet. i've only one dynamic range in one! subnet.
 
 regards
 Joerg
 
 - -- 
 The beginning is the most important part of the work.
 -Plato
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (FreeBSD)
 
 iD8DBQFBvT7fSPOsGF+KA+MRAntAAKCVOy85a1hGnjzJPPZZrBHEszQ+kACcCT7x
 d/2WSZOBLILhENRRV3BnJqc=
 =v6L+
 -END PGP SIGNATURE-



--- reklama -
Viete, o Vs dnes ak? Pozrite si Horoskop.
http://horoskop.zoznam.sk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DHCP and 2 subnets

2004-12-12 Thread goose bla
hello,

I have router with inet and allias. 10.1.0.0/24 10.2.0.0/24.
i want allot to pc(client) their IP by their MAC adress. but it's going 
only with one subnet. i can allot IP only to one subnet.

this is running 

subnet 10.1.0.0 netmask 255.255.255.0 {
range 10.1.0.31 10.1.0.60;
  default-lease-time 600;
  max-lease-time 7200;
  option subnet-mask 255.255.255.0;
  option domain-name bla.org;
  option domain-name-servers 222.222.222.22;
  option routers 10.1.0.1;
}

host pc1 {
hardware ethernet 00:33:11:22:bb:94;
fixed-address 10.1.0.10;
}


but i need somethink like this:

subnet 10.1.0.0 netmask 255.255.255.0 {
range 10.1.0.31 10.1.0.60;
  default-lease-time 600;
  max-lease-time 7200;
  option subnet-mask 255.255.255.0;
  option domain-name bla.org;
  option domain-name-servers 222.222.222.22;
  option routers 10.1.0.1;
}

subnet2 10.2.0.0 netmask 255.255.255.0 {
range 10.2.0.31 10.2.0.60;
  default-lease-time 600;
  max-lease-time 7200;
  option subnet-mask 255.255.255.0;
  option domain-name bla.org;
  option domain-name-servers 222.222.222.22;
  option routers 10.2.0.1;


host pc1 {
hardware ethernet 00:33:11:22:bb:94;
fixed-address 10.1.0.10;
}

host pc2 {
hardware ethernet 00:44:44:22:bb:94;
fixed-address 10.2.0.10;
}

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]