TP2 Réseau: les commandes

Exercices, projets etc relatifs au Master d'Informatique
Post Reply
User avatar
Vincent
Posts: 3077
Joined: Fri Apr 07, 2006 12:10 pm
Location: Schtroumpf
Contact:

TP2 Réseau: les commandes

Post by Vincent » Fri Oct 10, 2008 6:51 am

Les commandes entrées en TP2 de réseau (par Laurent Remond)

Code: Select all

Reseau : 

2048	172.20.0.0 	/21 H
1024	172.20.8.0 	/22 F
512	172.20.12.0	/23 D
256	172.20.14.0	/24 B
128	172.20.15.0	/25 G
64	172.20.15.128	/26 E
32	172.20.15.192	/27 C
16	172.20.15.224	/28 A
4	172.20.15.240	/30
4	172.20.15.244	/30
4	172.20.15.248	/30
4	172.20.15.252	/30



Commande : 

auto eth0
iface eth0 inet static
	address 
	gateway
	broadcast
	netmask

/etc/init.d/networking restart

chmod +x /dev/ttyS0
minicom -s 
//changer dans le setup (EQ)

enable (pour passer en root)
configure terminal
interface FastEthernet 0/1     interface Serial 0/0
ip address 172.20.15.238 255.255.255.X
no shutdown

router ospf 10
(les reseaux connu) network 172.20.14.0 (complément à 1 du masque) X.X.X.X area 1

(dans config-terminal) ip http server --> active un mini serveur permet d'acceder à la config du routeur par un navigateur

access list 101 deny ip host 172.20.14.1 host 172.20.15.225
access list 101 permit ospf any any
interface fastEthernet 0/1
ip access-group 101 out
{ Vincent Hugot }

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests