En este post quiero documentar la infraestructura de mi red que da servicio a Internet.
Los equipos son:
- Servidor soekris 4801 CPU Geode 266 MHz, 256Mb RAM, con sistema operativo OpenBSD, haciendo funciones de firewall, punto de acceso WiFi, servidor DNS interno y externo, servidor Web, servidor de base de datos MySQL. Este blog está alojado en esta máquina.
- Router Comtrend con ADSL2 de 10Mbps
- Teléfono Nokia 9210 Communicator con software newTelnet9200 de emulación de terminal y cable serie, conectado al puerto de consola del servidor Soekris.
El dmesg del servidor de la DMZ es este:
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 586-class) 267 MHz cpu0: FPU,TSC,MSR,CX8,CMOV,MMX cpu0: TSC disabled real mem = 268017664 (261736K) avail mem = 237674496 (232104K) using 3297 buffers containing 13504512 bytes (13188K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840 pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0x9000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00 sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, ad dress 00:00:24:c7:a5:b8 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, ad dress 00:00:24:c7:a5:b9 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, ad dress 00:00:24:c7:a5:ba nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11 ath0: AR5212 5.9 phy 4.3 rf2112 4.6, FCC1A, address 00:02:6f:39:cb:a6 gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00 gpio0 at gscpcib0: 64 pins "NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0:wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 wdstatus 0 ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5, version 1 .0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered isa0 at gscpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 sysbeep0 at pcppi0 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1: npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask f3e5 netmask ffe5 ttymask ffe7 pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302
En otra parte de la casa, conectada via WiFi con la DMZ, hay este otro grupo de máquinas:
- Servidor soekris 4801 CPU Geode 266 MHz, 128Mb RAM, con sistema operativo OpenBSD, que hace de respaldo de su gemelo de la DMZ
- Wireless G Ethernet Adapter de Belkin
- Hub 3Com OfficeConnect
- Servidor Sun Ultra 10 Elite3D con OpenBSD, funciones de desktop
- Unidad de cinta DAT40 HP SureStore SCSI
El servidor Ultra 10 tiene dos teclas curiosas, la de puesta en marcha (adoro usar hardware de Sun, con la consola por puerto serie y el botón de encendido en el teclado), y la tecla "any" por si me sale alguna vez el famoso mensaje "press any key to continue" ;).
El dmesg del servidor Sun Ultra 10 es este:
console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2 (GENERIC) #1427: Tue Aug 28 10:46:40 MDT 2007 deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 1028055040 (980MB) mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 440 MHz, version 0 FPU cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b /l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-3, PCI bus 0 psycho0: dvma map c0000000-dfffffff, iotdb 1bbe000-1c3e000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ipl 37 "SUNW,pll" at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 42 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not c onfigured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-72200 3 ipl 35 ipl 36: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 08:00:20:f e:3f:6c nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 vgafb0 at pci1 dev 2 function 0 "ATI Mach64 GP" rev 0x5c wsdisplay0 at vgafb0 wsdisplay0: screen 0 added (std, sun emulation) pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7e0 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0:wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom r emovable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13 pci2 at ppb1 bus 2 ppb2 at pci2 dev 1 function 0 "DEC 21153 PCI-PCI" rev 0x04 pci3 at ppb2 bus 3 "Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01: ivec 0x7d1, address 08:00:20:f 6:85:94 luphy0 at hme1 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 1 function 0 not configured hme2 at pci3 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7d2, address 08:00:20:f 6:85:95 luphy1 at hme2 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 2 function 0 not configured hme3 at pci3 dev 2 function 1 "Sun HME" rev 0x01: ivec 0x7d3, address 08:00:20:f 6:85:96 luphy2 at hme3 phy 1: LU6612 10/100 PHY, rev. 1 "Sun PCIO EBus2" rev 0x01 at pci3 dev 3 function 0 not configured hme4 at pci3 dev 3 function 1 "Sun HME" rev 0x01: ivec 0x7d0, address 08:00:20:f 6:85:97 luphy3 at hme4 phy 1: LU6612 10/100 PHY, rev. 1 siop0 at pci2 dev 2 function 0 "Symbios Logic 53c875" rev 0x14: ivec 0x7d4, usin g 4K of on-board RAM scsibus1 at siop0: 16 targets siop1 at pci2 dev 2 function 1 "Symbios Logic 53c875" rev 0x14: ivec 0x7d5, usin g 4K of on-board RAM scsibus2 at siop1: 16 targets ohci0 at pci2 dev 3 function 0 "NEC USB" rev 0x43: ivec 0x7d8, version 1.0 ohci1 at pci2 dev 3 function 1 "NEC USB" rev 0x43: ivec 0x7d9, version 1.0 ehci0 at pci2 dev 3 function 2 "NEC USB" rev 0x04: ivec 0x7da usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1: NEC OHCI root hub, rev 1.00/1.00, addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2: NEC OHCI root hub, rev 1.00/1.00, addr 1 creator0 at mainbus0 addr 0xfebc0000: Elite3D, model SUNW,XXX-XXXX, dac 0 wsdisplay1 at creator0: console (std, sun emulation), using wskbd0 "pcons" at mainbus0 not configured bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0 root on wd0a swap on wd0b dump on wd0b
El xorg.conf de esta máquina, preparado para conectar doble monitor, es el siguiente:
# # Sun Ultra 10 elite 3D # Section "ServerLayout" Identifier "Configuracion Basica" Screen 0 "Screen1" 0 0 InputDevice "commouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection # --------------------------------------------------------------------------- # Definicion de cada Pantalla Virtual # --------------------------------------------------------------------------- # All framebuffers Section "Screen" Identifier "Screen0" Device "Wsdisplay0" Monitor "SAMSUNG-913V" DefaultDepth 8 SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Wsdisplay1" Monitor "SAMSUNG-913V" DefaultDepth 24 DefaultFbBpp 32 SubSection "Display" Depth 8 Modes "640x480" "800x600" "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "640x480" "800x600" "1024x768" EndSubSection SubSection "Display" Depth 24 [jherrero@hestia ~]$ cat /etc/X11/xorg.conf # # Sun Ultra 10 elite 3D # Section "ServerLayout" Identifier "Configuracion Basica" Screen 0 "Screen1" 0 0 InputDevice "commouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection # --------------------------------------------------------------------------- # Definicion de cada Pantalla Virtual # --------------------------------------------------------------------------- # All framebuffers Section "Screen" Identifier "Screen0" Device "Wsdisplay0" Monitor "SAMSUNG-913V" DefaultDepth 8 SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Wsdisplay1" Monitor "SAMSUNG-913V" DefaultDepth 24 DefaultFbBpp 32 SubSection "Display" Depth 8 Modes "640x480" "800x600" "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "640x480" "800x600" "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "640x480" "800x600" "1024x768" EndSubSection EndSection # --------------------------------------------------------------------------- # Definicion de las tarjetas graficas # --------------------------------------------------------------------------- Section "Device" # VGA en bus PCI Identifier "Wsdisplay0" Driver "vgafb" Option "device" "/dev/ttyC0" EndSection Section "Device" # Elite3D Identifier "Wsdisplay1" Driver "wsfb" Option "device" "/dev/ttyD0" EndSection Section "Device" Identifier "Card0" Driver "ati" BusID "PCI:1:2:0" Option "composite_sync" "True" EndSection Section "Device" Identifier "Creator3D" Driver "sunffb" EndSection # --------------------------------------------------------------------------- # Definicion del TECLADO # --------------------------------------------------------------------------- # All Sun keyboards (USB Type 6, Serial Type 3/4/5/6) Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "Protocol" "wskbd" Option "Device" "/dev/wskbd0" Option "XkbRules" "xorg" Option "XkbLayout" "es" EndSection # --------------------------------------------------------------------------- # Definicion del RATON # --------------------------------------------------------------------------- Section "InputDevice" Identifier "commouse0" Driver "mouse" Option "Protocol" "SunMouse" Option "Device" "/dev/tty00" Option "Baudrate" "1200" EndSection # --------------------------------------------------------------------------- # Definicion del MONITOR # --------------------------------------------------------------------------- Section "Monitor" Identifier "SAMSUNG-913V" VendorName "Samsung" ModelName "SyncMaster 913v" # Adjust those to your monitor before using another device than wsfb # or you can destroy it !! HorizSync 30-81 VertRefresh 56-75 EndSection # --------------------------------------------------------------------------- # Definicion de las fuentes # --------------------------------------------------------------------------- Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/local/lib/X11/fonts/ghostscript/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/mscorefonts" EndSection # Serial mice on com ports Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse0" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSectioN # # EOF #
enlace a esta entrada | categoría: /sistemas |