Current time: 05-15-2024, 03:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
RESUELTO interfaces
Author Message
shiizpa Offline
Junior Member
*

Posts: 69
Joined: Mar 2009
Reputation: 2
Post: #1
Big Grin RESUELTO interfaces
PHP Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet 
static
address 192.168.2.6
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns
-nameservers 216.155.73.40 216.155.73.41
dns
-search troya.podzone.net 

mi ip es la 192.168.2.6(local)
mi puerta de enlace es 192.168.2.1 (router)
y my mascara 255.255.255.0

como se exactamemte mi network y mi broadcast
(This post was last modified: 03-26-2009 04:55 AM by shiizpa.)
03-26-2009 03:56 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: CONSULTA interfaces
Son cosas estandars, aunque no necesitas eso para configurar los interfaces sirven para delimitar las rangos de trabajo de una red en su ip por adaptador.

Se supone que antes se tenian que calcular en linux pero eso fue resuelto hace mucho tiempo, el sistema cuando tu pones la ip, mascara y puerta saca los limitadores automaticamente pero aun así puedes calcularlos manualmente

root@bongostudio:/# ipcalc -b -n 192.168.1.33
Address: 192.168.1.33
Netmask: 255.255.255.0 = 24
Wildcard: 0.0.0.255
=>
Network: 192.168.1.0/24
HostMin: 192.168.1.1
HostMax: 192.168.1.254
Broadcast: 192.168.1.255
Hosts/Net: 254 Class C, Private Internet
03-26-2009 04:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
shiizpa Offline
Junior Member
*

Posts: 69
Joined: Mar 2009
Reputation: 2
Post: #3
RE: CONSULTA interfaces
muchimas gracias men tuve que instalar el ipcalc para saberlos
THX

Code:
aptitude install ipcalc
ipcalc -b -n xxx.xxx.xxx.xxx (local)
(This post was last modified: 03-26-2009 04:55 AM by shiizpa.)
03-26-2009 04:54 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)