Hello Everyone,
i am very new to networking world,Here most users are Pioneer in this Networking and ROS World, Most are the Founders,think that i didn’t even know about the basic’s of networking. 1 of my friend told me about MT ROS , i searched for it and find this site, here i learn a lot but i need it More.
I am living in a country where is not much learning resources available to most peoples, and if have then it’s too much cost.
I request you to please give some data about Basic Networking , ROS and its Training here to help many peoples like me and how to get access to Training Section or how to get invitations?
I will be very Thankful to all of you . Welcome your Suggestions.
Here can you please tell me how to do it?
When router switch on it dynamically assign ip from modem like 192.168.1.77 with dns 202.99.132.240 .
1 . When any client turn on there PC they automatically get an ip by dhcp server.like 10.0.0.2 for Pc1 , 10.0.0.3 Pc2 , 10.0.0.4 Pc3 and so on,but they unable to use internet.
2 . when they use there login and password to connect for use the internet then it automatically get another ip,
3. i want to share three rate limits 512Kb , 1Mb and 2Mb, client with different limits get different ip ranges, like 192.168.77.2 for 512 , 192.168.88.2 for 1Mb and 192.168.99.2 for 2Mb.
In pic it shows 9 PC so PC 1,5,8 get ip 192.168.77.2,3,4 and so on.
PC 2,6,9 get 192.168.88.2,3,4 and so on.
PC 3,4,7 get 192.168.99.2,3,4 and so on.
4 . i want to add 1 more PC as my media server that my clients can access data from this PC by daily data limit.but it’s can only accessible when they connect there login:password.
So what will be it’s complete procedure by command?

Its a simple and basic setup procedure ,
interface ethernet set ether1 name=LAN disabled=no
interface ethernet set ether2 name=WAN disabled=no
We need to assign ip address to ethernet interfaces first
- LAN interface (to switch)
ip address add address=192.168.0.1/24 interface=LAN disabled=no
- WAN interface (to modem)
ip dhcp-client add interface=WAN use-peer-dns=yes use-peer-ntp=yes add-default-route=yes disabled=no
Because you get dynamically assigned ip address form modem, we will use dhcp-client on wan interface.
Next, we need to create ip pool for users that are connecting with pppoe:
ip pool add name=users_pool ranges=192.168.2.2-192.168.2.254
Masquerade outgoing interface:
ip firewall nat add chain=srcnat src-address=192.168.2.0/24 out-interface=WAN action=masquerade
Then create a pppoe server on LAN interface:
interface pppoe-server server add authentication=pap,chap,mschap1,mschap2 interface=LAN service-name=pppoe-service one-session-per-host=yes disabled=no
So, we need to create each user now.First, we create profile with rate limit:
ppp profile add name=user1 local-address=192.168.2.1 remote-address=users_pool rate-limit=2048000/2048000 use-encryption=no use-compression=no use-vj-compression=no only-one=yes
Then username and password for each user:
ppp secret add name=user1 password=userpass profile=user1 disabled=no
system identity set name="whatever you want"
Finish
Please Add my desired settings like this.