How Server Give internet from Router?
klez0011
Member Posts: 48 ■■□□□□□□□□
in CCNA & CCENT
hi,
asssume scenario which 1 router receive internet from internet{ Fastethernet 0/0 connect to internet},
we have server whit external Card and we want to give it(server) internet From Routers
suppose Fastethernet 0/1 connect to Server
1-How I should give IP Address,Gateway and DNS to Server to get Internet?
2-what about Fa 0/1 that connect to server which range IP I should assigned?
assume fa0/0 connect to internet and IP is:192.168.1.100
please give example about range of fa0/1 and Server IP,DG,DNS ...thanks
asssume scenario which 1 router receive internet from internet{ Fastethernet 0/0 connect to internet},
we have server whit external Card and we want to give it(server) internet From Routers
suppose Fastethernet 0/1 connect to Server
1-How I should give IP Address,Gateway and DNS to Server to get Internet?
2-what about Fa 0/1 that connect to server which range IP I should assigned?
assume fa0/0 connect to internet and IP is:192.168.1.100
please give example about range of fa0/1 and Server IP,DG,DNS ...thanks
Comments
-
vasyvasy Member Posts: 68 ■■■□□□□□□□Hi klez0011
I'm guessing that you are assigned a single external IP from your provider (192.168.1.100) and you just need some basic NAT
Router:
fa0/0: 192.168.1.100
fa0/1: 10.0.0.1 (or any private IP - see RFC1918)
Server:
eth0:
ip: 10.0.0.2
dg: 10.0.0.1
dns: whatever dns service you are using, even a public one should be fine for web access
The router should be configured to perform NAT for your server/LAN