Skip to content

Instantly share code, notes, and snippets.

@mohan43u
Created April 12, 2020 05:16
Show Gist options
  • Save mohan43u/90ff1d5e4b61f90718eaa9a5afa60181 to your computer and use it in GitHub Desktop.
Save mohan43u/90ff1d5e4b61f90718eaa9a5afa60181 to your computer and use it in GitHub Desktop.
2020-04-11 14:50:40 mbuf We shall begin in 10 minutes
2020-04-11 14:51:03 mohan43u ok
2020-04-11 14:55:36 --> ringmaster62 (~u0_a193@27.5.12.196) has joined #ilugc
2020-04-11 14:55:38 --> protocol255 (~protocol2@103.99.150.216) has joined #ilugc
2020-04-11 14:56:06 <-- protocol255 (~protocol2@103.99.150.216) has quit (Client Quit)
2020-04-11 14:57:15 --> protocol255 (~protocol2@103.99.150.216) has joined #ilugc
2020-04-11 15:00:02 * mbuf Welcome to ILUGC April 2020 monthly meeting
2020-04-11 15:00:18 mbuf Before we begin, I would like to state few conversation guidelines
2020-04-11 15:00:48 mbuf As you might already know, IRC stands for Internet Relay Chat, and for any meeting there is a protocol followed
2020-04-11 15:01:22 --> stylesen (~stylesen@unaffiliated/stylesen) has joined #ilugc
2020-04-11 15:01:23 mbuf While the speaker is typing and sharing his/her thoughts, you should not interrupt
2020-04-11 15:01:44 mbuf If you have a question or would like to speak, please press "!" and wait for your turn
2020-04-11 15:01:59 mbuf Only when the speaker asks you to speak, should you ask your question
2020-04-11 15:02:23 mbuf End every question with a question mark "?", and when you have completed your answer, use EOF.
2020-04-11 15:02:33 mbuf Most IRC meetings will follow the protocol available at https://fedoraproject.org/wiki/How_to_use_IRC#Meeting_Protocol
2020-04-11 15:02:58 --> bala99 (ab4eb87a@171.78.184.122) has joined #ilugc
2020-04-11 15:03:00 mbuf I will go through some basics, and then open it up for questions. If you have any questions, please feel free to type "!" and wait for your turn
2020-04-11 15:03:09 --> itrus (~u0_a330@27.5.12.196) has joined #ilugc
2020-04-11 15:03:29 mbuf After my session, we will go through a round of introductions, and then mohan43u will take it from there
2020-04-11 15:03:46 mbuf I hope the ground rules are simply and easy to follow, and you will learn with experience.
2020-04-11 15:04:16 mbuf When it comes to IRC, it is essential that you be connected whenever you are online, so that you can learn from others' conversation as well
2020-04-11 15:04:33 mbuf With that let me ("mbuf" a.k.a. Shakthi Kannan" start the first session.
2020-04-11 15:05:01 --> Maries (25c99b57@ip-37-201-155-87.hsi13.unitymediagroup.de) has joined #ilugc
2020-04-11 15:05:07 mbuf Internet Relay Chat is an application layer protocol that was developed in 1988 for text communication
2020-04-11 15:05:33 mbuf It has been going strong for decades, and a lot of Free/Libre and Open Source Software projects use the same
2020-04-11 15:05:55 mbuf A picture of the first IRC server is available at https://en.wikipedia.org/wiki/File:Tolsun_2.jpg
2020-04-11 15:06:07 --> Ravisankar (75d54470@117.213.68.112) has joined #ilugc
2020-04-11 15:06:20 mbuf The protocol was developed by Jarkko Oikarinen at the University of Oulu in Finland
2020-04-11 15:06:47 mbuf The most popular IRC server is Freenode, and the Indian Linux User's Group, Chennai have this #ilugc channel created for our needs
2020-04-11 15:07:20 mbuf The advantage of IRC is that even on a slow mobile connection, one can participate in conversations and learn from each other
2020-04-11 15:07:23 --> mgopi1990 (~androirc@106.208.17.5) has joined #ilugc
2020-04-11 15:07:37 ringmaster62 !
2020-04-11 15:07:51 Ravisankar hi... sorry to interrupt... is this meeting only through chat or do we have any audio conferrence??
2020-04-11 15:08:08 mbuf There are other IRC servers and networks like IRCnet, EFnet, OFTC, DALnet etc.
2020-04-11 15:08:17 mbuf ringmaster62, ask your question
2020-04-11 15:08:47 mbuf Ravisankar, you joined late, if you have a question you need to type "!" and wait for your turn; the IRC meeting protocol is at https://fedoraproject.org/wiki/How_to_use_IRC#Meeting_Protocol
2020-04-11 15:09:00 ringmaster62 Is IRC still used by people nowadays? i think usage is going down.
2020-04-11 15:09:19 mbuf ringmaster62, no, it is heavily used. What metrics do you have to show that?
2020-04-11 15:10:21 ringmaster62 Just a thought please go ahead
2020-04-11 15:10:40 mbuf ringmaster62, it is a good practice to give reference or source when you make a statement
2020-04-11 15:11:01 mbuf ringmaster62, people are generally not aware, and it is essential for such groups like us to educate them
2020-04-11 15:11:08 ringmaster62 alright
2020-04-11 15:12:05 ringmaster62 Lets move on...
2020-04-11 15:12:07 mbuf Ravisankar, now is your turn, and you have already asked your question. The answer is IRC here is for text only, although some IRC servers allow you to do file transfer between nick names
2020-04-11 15:12:22 mbuf The first thing one needs to do after logging into IRC, is to register your nickname
2020-04-11 15:12:56 mbuf A server has many channels, and you can participate in many channels.
2020-04-11 15:13:25 --> raj__ (~rajkumar@2409:4072:190:2517:522b:73ff:fee8:65ca) has joined #ilugc
2020-04-11 15:13:29 mbuf The command to do that is "/msg NickServ REGISTER YourPassword email@address"
2020-04-11 15:13:52 mbuf Some channels are very strict and only registered nicknames are allowed.
2020-04-11 15:14:06 mbuf This is to prevent spam bots from disrupting the useful conversations that people have
2020-04-11 15:14:40 mbuf So, whenever you login to an IRC server, like irc.freenode.net, you need to identify yourself using "/msg NickServ IDENTIFY YourNick YourPassword"
2020-04-11 15:14:47 mbuf Reference: https://freenode.net/kb/answer/registration
2020-04-11 15:15:02 mbuf Make sure you choose a small nick, so that it is easy for others to remember
2020-04-11 15:15:14 itrus q
2020-04-11 15:15:44 mbuf A common mistake that people do when registering their nickname, or to identify themselves is to type the command in a channel. If you mis-type, the entire text including your password will be displayed in the channel
2020-04-11 15:15:57 <-- itrus (~u0_a330@27.5.12.196) has quit (Quit: leaving)
2020-04-11 15:16:15 stylesen !
2020-04-11 15:16:35 mbuf So, you need to type the same in the "freenode" listing, and not in any channel
2020-04-11 15:16:41 mbuf stylesen, ask your question
2020-04-11 15:16:58 stylesen mbuf: Is there a way to change the password for our registered nick?
2020-04-11 15:17:39 mbuf stylesen, yes, see https://freenode.net/kb/answer/sendpass
2020-04-11 15:17:49 --> jey_smart (31ce7c89@49.206.124.137) has joined #ilugc
2020-04-11 15:18:11 stylesen mbuf: Thanks, got the answer.
2020-04-11 15:18:17 <-- Ravisankar (75d54470@117.213.68.112) has quit (Ping timeout: 240 seconds)
2020-04-11 15:18:20 --> bala9939 (ab4eb87a@171.78.184.122) has joined #ilugc
2020-04-11 15:18:27 mbuf Let us quickly go through some basic commands, "/join" to join a channel. So, now go ahead and try to do "/join ##linux-india", which is a popular Free/Libre and Open Source community channel that has existed for decades
2020-04-11 15:18:58 mbuf If you want to leave a channel, you can do "/part ##linux-india". Go ahead and join and try to leave the channel.
2020-04-11 15:19:22 --> nihaal (~nihaal@171.60.255.233) has joined #ilugc
2020-04-11 15:19:26 mbuf There are some nicks who are Ops people in the channel, and they have special privileges, like being root in a channel
2020-04-11 15:19:40 bala9939 ! what is the primary reason behind creating irc?
2020-04-11 15:19:57 <-- bala99 (ab4eb87a@171.78.184.122) has quit (Ping timeout: 240 seconds)
2020-04-11 15:20:01 mbuf bala9939, you need to just type "!" wait for your turn
2020-04-11 15:20:06 mbuf bala9939, do not shoot the question
2020-04-11 15:20:13 bala9939 ! why is that?
2020-04-11 15:20:55 protocol255 !
2020-04-11 15:21:24 mbuf Suppose you want to send an action message to everyone in the channel, you can use "/me Message". For example:
2020-04-11 15:21:35 * mbuf Shakthi Kannan
2020-04-11 15:21:35 protocol255 Its interesting to learn new things.
2020-04-11 15:21:48 <-- bala9939 (ab4eb87a@171.78.184.122) has quit (Remote host closed the connection)
2020-04-11 15:21:50 mbuf protocol255, do not interrupt when the speaker is typing; wait for your turn
2020-04-11 15:21:54 --> Ravisankar (~Ravisanka@117.213.68.112) has joined #ilugc
2020-04-11 15:22:05 mbuf Try "/me" by giving your firstname and last name
2020-04-11 15:22:31 * jey_smart jey
2020-04-11 15:22:40 mbuf If you want to know about a nickname,you can use "/whois nick"
2020-04-11 15:22:54 * Maries Marieswaran Ram
2020-04-11 15:23:00 * raj__ rajkumar n
2020-04-11 15:23:13 baskar !
2020-04-11 15:23:16 <-- mgopi1990 (~androirc@106.208.17.5) has quit (Remote host closed the connection)
2020-04-11 15:23:16 * mohan43u Mohan Raman
2020-04-11 15:23:45 jey_smart !
2020-04-11 15:23:46 mbuf If you would like to send someone a private message, it courteous to ask them if it is fine to ping them in private, and then you can message them using "/msg NickName Message"
2020-04-11 15:23:54 --> mgopi1990 (~androirc@106.208.17.5) has joined #ilugc
2020-04-11 15:24:34 Ravisankar ?
2020-04-11 15:24:38 mbuf bala9939 has quit, but, IRC was designed for a chat application so people can communicate in real-time
2020-04-11 15:24:48 mbuf protocol255, ask your question
2020-04-11 15:25:26 mbuf baskar, ask your question
2020-04-11 15:25:28 baskar when the users try those mentioned commands, it creates an kind of interruption. does this kind of thing allowed during the session
2020-04-11 15:25:38 protocol255 Sorry for the interrupt, instead of new line to shoot question it sent the msg. I have few question.
2020-04-11 15:25:58 mbuf baskar, yes, not allowed during the session, but, this session is about IRC, so it is fine
2020-04-11 15:26:03 protocol255 1. How long #ilugc is using irc?
2020-04-11 15:26:14 mohan43u !
2020-04-11 15:26:38 mbuf protocol255, the channel has been there for some time, but, we generally are active in mailing list and monthly meets; so, it was not used much
2020-04-11 15:27:03 mbuf protocol255, but, we usually hang in other IRC channels for Free/Libre and Open Source Software projects
2020-04-11 15:27:07 protocol255 2. I believe in earlier days we had low network quality by the time text chat might be useful. Even for today is this was useful?
2020-04-11 15:27:26 mbuf protocol255, yes, SMS is still useful today, and text based communication has its uses
2020-04-11 15:27:32 mbuf jey_smart, ask your question
2020-04-11 15:27:36 mbuf Ravisankar, ask your question
2020-04-11 15:27:38 protocol255 3. Why not we could use telegram?
2020-04-11 15:27:42 jey_smart What is the agenda today?
2020-04-11 15:28:14 mbuf protocol255, Telegram is not fully Free/Libre and Open Source; there are proprietary components to it; the same with WhatsApp too
2020-04-11 15:28:55 mbuf jey_smart, that is available in https://www.freelists.org/post/ilugc/ILUGC-Monthly-Meet-April-11-2020-36-pm-Lets-meet-on-IRC-ilugc-in-freenodenet
2020-04-11 15:29:15 baskar Let's mbuf finish his session quicker and after the session, we will have the Q&A
2020-04-11 15:29:22 jey_smart Thanks
2020-04-11 15:29:23 Ravisankar hi, I connected this channel through webchat.freenode.net.... but after sometime it shows disconnected, and couldn't connect again, so i downloaded HexChat... So is the problem lies in webchat?
2020-04-11 15:30:31 -- Mode #ilugc [+o mbuf] by ChanServ
2020-04-11 15:31:05 protocol255 !
2020-04-11 15:31:08 @mbuf Ravisankar, in sufficient information to conclude anything
2020-04-11 15:31:22 @mbuf If you now see, my nickname has a green circle next to it
2020-04-11 15:31:35 --> shrini (~androirc@171.78.178.242) has joined #ilugc
2020-04-11 15:31:38 @mbuf I am now an Ops in the channel, which gives me "root" like privileges
2020-04-11 15:32:04 @mbuf So, every channel will have few Ops people who are there to "kick" spam bots, and do administrative tasks
2020-04-11 15:32:15 -- Mode #ilugc [-o mbuf] by ChanServ
2020-04-11 15:32:23 jey_smart !
2020-04-11 15:32:25 mbuf Now I have removed my operator status
2020-04-11 15:32:49 mbuf If you right-click in the HexChat window, you have many options that you can use to customize your IRC client
2020-04-11 15:32:49 <-- shrini (~androirc@171.78.178.242) has quit (Read error: Connection reset by peer)
2020-04-11 15:33:08 --> shrini_ (uid38773@gateway/web/irccloud.com/x-idobgyirycelqfeu) has joined #ilugc
2020-04-11 15:33:15 mbuf HexChat -> Network List gives you options to specify which servers you want to connect to and which channels you want to auto-join
2020-04-11 15:33:18 -- shrini_ is now known as shrini
2020-04-11 15:33:36 <-- shrini (uid38773@gateway/web/irccloud.com/x-idobgyirycelqfeu) has quit (Changing host)
2020-04-11 15:33:36 --> shrini (uid38773@ilugc/shrini) has joined #ilugc
2020-04-11 15:34:05 mbuf There are also top-level menu-bar available to you
2020-04-11 15:34:28 mbuf In the Preferences, you can customize the Interface, Chatting and Network configuration
2020-04-11 15:35:03 mbuf For example, if someone mentions your name in the channel, then you can be notified by a colour change in the channel name
2020-04-11 15:35:22 mbuf Or, you can also have desktop notifications
2020-04-11 15:35:38 mbuf When you quit IRC, you can specify the "Quit" message, by default
2020-04-11 15:36:00 mbuf I like to keep logging turned on, so that the conversations and discussions are useful for future reference
2020-04-11 15:36:12 mbuf So, you can specify how much to limit the chat log to
2020-04-11 15:36:30 mbuf As mentioned before, you can configure the settings for file transfer as well
2020-04-11 15:36:53 mbuf So, my suggestion is to try and hang out in this channel as much as you can, and learn from each other
2020-04-11 15:37:07 mbuf jey_smart, ask your question
2020-04-11 15:37:14 mbuf Ravisankar, ask your question
2020-04-11 15:37:22 mbuf mohan43u, ask your question
2020-04-11 15:37:29 baskar ?
2020-04-11 15:37:42 mbuf baskar, ask your question
2020-04-11 15:37:43 jey_smart 1. Who is ChanServ 2. Why does one person have red circle instead of green in the webchat participants list?
2020-04-11 15:37:51 protocol255 !
2020-04-11 15:38:03 baskar do free/open source software developers extensively use irc channels during the development stages ?
2020-04-11 15:38:21 mohan43u protocol255: #ilugc was created long before.. but it was not used.. we renewed recently with freenode and changed mods..
2020-04-11 15:39:03 mbuf jey_smart, ChanServ is a service that maintains channel registration and access information
2020-04-11 15:39:19 mbuf jey_smart, green is for ops, not sure what your client is configured for red
2020-04-11 15:39:24 mbuf baskar, yes
2020-04-11 15:40:20 shrini How to keep the logs? To know previous chats when I was logged out ?
2020-04-11 15:40:25 ringmaster62 !
2020-04-11 15:40:52 mbuf There are plenty of active IRC channels for you to participate in; for example, if you are an Ubuntu user, and you need some troubleshooting help, you can ask in #ubuntu (which has about 1180 registered nicks)
2020-04-11 15:41:41 mbuf shrini, some people connect through matrix.org and have a session active all the time in the channel; they just connect to the session and review the previous chat history
2020-04-11 15:42:06 mbuf shrini, search online on how to do this, you will find some HOWTos
2020-04-11 15:42:09 mbuf ringmaster62, ask your question
2020-04-11 15:42:44 -- jey_smart is now known as smart_40
2020-04-11 15:43:07 -- stylesen is now known as stylesen-afk
2020-04-11 15:43:07 mbuf The takeaway from this session is to try to hang out in #ilugc whenever you are online, and also connect to various other IRC channels of your interest, depending on which area of Free/Libre and Open Source Software you are working with, and learn from each other
2020-04-11 15:43:08 ringmaster62 i have registered a nick for this session. How to claim this nick for myself in all future logins
2020-04-11 15:43:24 mbuf ringmaster62, nickname is registered on the server, and is not for a session
2020-04-11 15:43:41 mbuf ringmaster62, it is all yours whenever you login; you will have to identify yourself everytime you login though
2020-04-11 15:44:03 -- stylesen-afk is now known as stylesen
2020-04-11 15:44:38 mbuf One more thing is that if you ask a question in a channel, be patient and wait for a reply.
2020-04-11 15:44:52 mbuf Most of the time people are away from keyboard (afk), and you may not get a reply
2020-04-11 15:45:03 ringmaster62 how to register for nick
2020-04-11 15:45:18 mbuf I will encourage you to follow the communication guidelines at http://shakthimaan.com/downloads.html#free-software-communication-guidelines
2020-04-11 15:45:58 mbuf ringmaster62, I already mentioned that, but, here is another link https://meta.wikimedia.org/wiki/IRC/Instructions
2020-04-11 15:46:05 protocol255 !
2020-04-11 15:46:17 mbuf Try to search for your answers online before asking questions as well. We would like to see if you have done your home work
2020-04-11 15:46:19 mbuf protocol255, yes
2020-04-11 15:46:36 mbuf Last question, as I am out of time.
2020-04-11 15:46:49 protocol255 Can we go for some audio based meeting?
2020-04-11 15:46:50 protocol255 Might save much more time and easy to share our content! So far we have learned few points.
2020-04-11 15:47:02 baskar #Ubuntu is a useful tip. At the end if you could list some useful/popular IRC channel(s) it will be helpful for everyone
2020-04-11 15:47:03 protocol255 ILUG-Delhi event conducted through jit.se, was very useful!
2020-04-11 15:47:37 mbuf protocol255, every communication medium has its use. If there is a demo-like talk, then audio/video can be considered
2020-04-11 15:48:06 mbuf protocol255, mee.jit.si does not scale well for more than 8-10 users, from the Emacs meetups that I had organized earlier
2020-04-11 15:48:14 mbuf *meet.jit.si
2020-04-11 15:48:33 mbuf That is the end of my session. We can take discussions after mohan43u finishes his session.
2020-04-11 15:48:53 smart_40 Thanks very much. Very useful.
2020-04-11 15:49:01 mohan43u hi everyone... this is mohan.. going to talk about vlan.
2020-04-11 15:49:09 protocol255 mbuf: thans
2020-04-11 15:49:15 mbuf We can now do one quick round of introductions (using "/me" state your full name, what do you do, where you are from, and what is your interests in Free/Libre and Open Source Software")
2020-04-11 15:49:29 mbuf smart_40, protocol255 welcome
2020-04-11 15:50:32 * mohan43u Mohan Dev Chennai 'just here for Linux and FOSS'
2020-04-11 15:50:55 * mbuf Shakthi Kannan (@shakthimaan), researcher at IIT, Madras, Chennai, work on anything FLOSS
2020-04-11 15:51:08 * stof1 hello everybody. thanks for the talk and thanks for organizing. i'm stof 999, the swiss living in chennai and hoping to join here a hackerspace once. :)
2020-04-11 15:51:11 * baskar Baskar, a linux enthusiast since 97, from chennai. interested in promoting the free software culture among the young minds
2020-04-11 15:51:23 * ringmaster62 John python developer chennai
2020-04-11 15:52:00 * protocol255 kumar "linux dev" "intrested in open source projects"
2020-04-11 15:52:01 mbuf mohan43u, the floor is all yours; take it away!
2020-04-11 15:52:07 mohan43u mbuf: thanks..
2020-04-11 15:52:22 mohan43u will wait for 1 more min to continue my talk..
2020-04-11 15:52:39 mohan43u till than please introduce yourself..
2020-04-11 15:52:42 * stylesen Senthil Kumaran, free software enthusiast, Chennai, free software philosophy
2020-04-11 15:52:47 * Maries Marieswaran Mechanical Engineer interested in FOSS. Germany
2020-04-11 15:53:20 * nihaal Abdun Nihaal. Student at IITM
2020-04-11 15:53:54 * ringmaster62 John PythonDev
2020-04-11 15:54:01 * Ravisankar Ravisankar, a teacher in government school, looking for innovation in education through technology
2020-04-11 15:55:24 * shrini shrinivasan , devops guy. Works for tvfplay.com
2020-04-11 15:55:45 protocol255 Ravisankar: As a teacher you are here. Happy to see you in this community.
2020-04-11 15:56:02 baskar A small suggestion. Every month we can have atleast 1 or 2 regular sessions in IRC #ILUGC channel which will help in bring more people
2020-04-11 15:56:22 mohan43u baskar: will do..
2020-04-11 15:56:25 Ravisankar @protocol255 thank you.. i am from Pondicherry
2020-04-11 15:56:31 Maries +1
2020-04-11 15:56:44 mohan43u continuing my talk..
2020-04-11 15:56:49 mohan43u we all know that in IP based networks.. we use subnet
2020-04-11 15:57:00 mohan43u basically ipaddr/subnetmask/gateway
2020-04-11 15:57:01 -- stylesen is now known as stylesen-afk
2020-04-11 15:57:46 mohan43u there are different layers (OSI reference.. layer 2, layer 3 etc.,)
2020-04-11 15:58:15 <-- Maries (25c99b57@ip-37-201-155-87.hsi13.unitymediagroup.de) has quit (Remote host closed the connection)
2020-04-11 15:59:15 --> Muthuramalingam1 (1b05560f@27.5.86.15) has joined #ilugc
2020-04-11 15:59:23 mohan43u in the data link layer (layer 2).. when we send a special ID (or VLAN tag).. then that packet which carry this tag will not be received by normal subnet
2020-04-11 16:00:11 mohan43u those frames (with the special VLAN ID) will be handled only by devices which is configured to receive those frames
2020-04-11 16:00:46 baskar !
2020-04-11 16:00:53 mohan43u baskar: yes please..
2020-04-11 16:01:08 baskar when possible, provide any image links for visual representation
2020-04-11 16:01:21 mohan43u baskar: sure..
2020-04-11 16:02:36 mohan43u continueing.. both normal subnet packets and special vlan packets will travel on the same physical network interface
2020-04-11 16:04:03 mohan43u In linux we can create a special virtual network device from a physical network interface to send/recv special vlan packets
2020-04-11 16:04:18 --> stof999 (~stof1@2401:4900:2322:7d28:1:0:322b:6152) has joined #ilugc
2020-04-11 16:04:29 <-- smart_40 (31ce7c89@49.206.124.137) has quit (Remote host closed the connection)
2020-04-11 16:04:30 <-- ringmaster62 (~u0_a193@27.5.12.196) has quit (Read error: Connection reset by peer)
2020-04-11 16:04:31 mohan43u the command is very simple 'sudo ip link add link eth0 name eth0.100 type vlan id 100'
2020-04-11 16:05:09 mohan43u in this command.. we are saying to kernel that create a new virtual network device called eth0.100 which is of type vlan with vlan ID 100 (VLAN tag)
2020-04-11 16:05:57 <-- stof999 (~stof1@2401:4900:2322:7d28:1:0:322b:6152) has left #ilugc
2020-04-11 16:06:16 mohan43u once we create this virtual network interface.. we just need to configure other upper layer network parameters like ipaddr/netmask/gateway..
2020-04-11 16:06:18 mohan43u like this..
2020-04-11 16:06:30 mohan43u sudo ip addr add 10.0.1.1/24 dev eth0.100
2020-04-11 16:07:33 --> smart_40 (31ce7c89@49.206.124.137) has joined #ilugc
2020-04-11 16:07:40 mohan43u the above command will automatically configure the eth0.100 device with 10.0.1.1 as ipaddress, 255.255.255.0 as subnet mask.. and will add a subnet routing entry in routing table
2020-04-11 16:08:32 mohan43u it is upto us to route all our traffic through this vlan.. if we want.. we can also route using 'sudo ip route add default via 10.0.1.254'
2020-04-11 16:09:12 mohan43u this command will add a default routing entry which will route all packets through vlan subnet's ip 10.0.1.254
2020-04-11 16:09:30 --> ringmaster62 (~u0_a193@27.5.12.196) has joined #ilugc
2020-04-11 16:09:44 mohan43u the commands which I provided are all temporary.. (will go away once you reboot)
2020-04-11 16:10:35 mohan43u there are different way to make a vlan setting permanent.. rhel/centos uses netowork-scripts/networkmanager etc., debian uses different method.. but
2020-04-11 16:10:56 mohan43u there is a simple method to make vlan device permanent using systemd-networkd
2020-04-11 16:11:54 mohan43u echo -e "[Netdev]Name=eth0.100\ntype=vlan" > /etc/systemd/network/vlan.100.netdev (run as root)
2020-04-11 16:12:58 baskar !
2020-04-11 16:13:04 mohan43u echo -e "[Match]\nName=eth0.100\n\n[Network]\nDHCP=yes\n" > /etc/systemd/network/vlan.100.network (run as root)
2020-04-11 16:13:46 mohan43u these two configuration files will tell systemd-networkd to create a vlan device vlan.100 and configure it to use DHCP
2020-04-11 16:14:30 mohan43u because we use DHCP.. the VLAN network has to be running a DHCP server..
2020-04-11 16:14:31 <-- ringmaster62 (~u0_a193@27.5.12.196) has quit (Read error: Connection reset by peer)
2020-04-11 16:14:34 mohan43u baskar: yes please..
2020-04-11 16:14:37 baskar do all versions of kernel support the creation of vlan interface, or supported only from specific kernel versions
2020-04-11 16:15:03 mohan43u baskar: vlan support added long time before..
2020-04-11 16:15:13 shrini ?
2020-04-11 16:15:21 mohan43u shrini: yes..
2020-04-11 16:15:34 shrini What is the use of these vlan?
2020-04-11 16:15:39 baskar then non systemd distributions also should support vlan, right ?
2020-04-11 16:16:05 mohan43u shrini: to seperate devices virtually but connect them in same physical network..
2020-04-11 16:16:28 mohan43u shrini: virtually.. I mean.. different subnet..
2020-04-11 16:17:11 mohan43u shrini: you can physically connect 10 machines in same physical subnet but can seperate them using more than one subnet
2020-04-11 16:17:17 protocol255 !
2020-04-11 16:17:26 mohan43u baskar: yes..
2020-04-11 16:17:31 mohan43u protocol255: yes please..
2020-04-11 16:17:54 protocol255 Can you explain any real time use case for vlan ?
2020-04-11 16:18:04 baskar !
2020-04-11 16:18:04 -- stylesen-afk is now known as stylesen
2020-04-11 16:18:10 mohan43u baskar: you can permanently configure vlan through many ways.. one of the way is through systemd-networkd
2020-04-11 16:19:16 mohan43u protocol255: if you are in a office network.. let say all machines are physically connected to one router.. normally that router will be configured to handle single subnet
2020-04-11 16:19:36 --> ringmaster62 (~u0_a193@27.5.12.196) has joined #ilugc
2020-04-11 16:19:39 mohan43u protocol255: but if you want to give different subnet for different departments.. then you configure vlan and seperate them..
2020-04-11 16:20:01 mohan43u protocol255: so that one department person cannot access another department person's machine..
2020-04-11 16:20:12 mohan43u baskar: go on..
2020-04-11 16:20:24 protocol255 So it is for security reason ?
2020-04-11 16:20:49 mohan43u protocol255: more than security reason.. managability..
2020-04-11 16:20:54 baskar protocol255. We can take a big institution for real use case who may have more than 3000+ computers in the whole campus
2020-04-11 16:21:16 baskar they may have 10 to 20 different labs having different ip/subnets
2020-04-11 16:21:47 baskar but, they will have one internet gateway/proxy server which they need to access the internet
2020-04-11 16:22:03 Ravisankar ?
2020-04-11 16:22:14 mohan43u Ravisankar: yes please..
2020-04-11 16:22:29 Ravisankar so vlan is entirely different from vpn?
2020-04-11 16:22:39 baskar In the actual scenario (where is no VLAN), the admin will give a virtual IP in the gateway server/proxy server like eth0:0 configured for 192.168.1.254
2020-04-11 16:22:40 mohan43u Ravisankar: yes..
2020-04-11 16:22:53 baskar and eth0:1 for 192.168.2.254 and so
2020-04-11 16:23:28 baskar sometimes, the users will create their own virtual IP in their client PCs (windows/linux) to access the internet, which will create a complete havoc
2020-04-11 16:23:34 baskar in the whole network
2020-04-11 16:24:16 baskar I have noticed a lot of IP conflicts due to this in many colleges. In these kind of places, VLAN will help in bring down the problem by virtually separating them
2020-04-11 16:24:44 baskar I hope the use case will be clear now
2020-04-11 16:24:48 protocol255 Got it.
2020-04-11 16:24:52 baskar mohan43u, you can continue now
2020-04-11 16:25:02 mohan43u baskar: thanks for the explanation..
2020-04-11 16:25:20 Ravisankar ?
2020-04-11 16:25:27 mohan43u Ravisankar: go on..
2020-04-11 16:25:49 Ravisankar can we achieve anonymous?
2020-04-11 16:25:54 Ravisankar using vlan?
2020-04-11 16:26:22 mohan43u Ravisankar: anonymous? in what context? could you please explain better?
2020-04-11 16:27:27 Ravisankar like the tor browser which gives anonymous in public network
2020-04-11 16:27:58 mohan43u Ravisankar: no, you can tor is in different level..
2020-04-11 16:28:29 mohan43u Ravisankar: vlan is just a simple subnet, it can't hide your IP
2020-04-11 16:28:41 mohan43u continuing my talk..
2020-04-11 16:28:44 <-- ringmaster62 (~u0_a193@27.5.12.196) has quit (Quit: Lost terminal)
2020-04-11 16:29:45 mohan43u vlan, bridge combined with VM's you can simulate a entire office subnet in your laptop
2020-04-11 16:30:20 mohan43u infact this is how most of the cloud infrastructure seperate their customer's network..
2020-04-11 16:31:33 mohan43u thats all I have today.. let me know if you have more questions..
2020-04-11 16:31:44 Ravisankar ?
2020-04-11 16:31:46 --> the_ring_master (~corn@27.5.12.196) has joined #ilugc
2020-04-11 16:31:53 mohan43u Ravisankar: yes please..
2020-04-11 16:32:05 protocol255 !
2020-04-11 16:32:13 mohan43u protocol255: yes..
2020-04-11 16:33:06 Ravisankar when i right click on the user in this irc participants , for all the users it shows some ip address except for you, it shows some url how?
2020-04-11 16:33:22 protocol255 I could think of some ISPs providing the IPTV service along with normal network connection. They all will be running some vlan, and your router must be configured to use the services.
2020-04-11 16:33:56 mohan43u Ravisankar: I'm affliated to ilugc (something called cloak in freenode.. you can google about it)
2020-04-11 16:36:46 mohan43u protocol255: yes.. they has to seperate their services with different vlan.. I think the setupbox already configured based on the initial settings (usually some json file will be downloaded from a remote location which setup everything automatically)
2020-04-11 16:37:26 baskar https://www.practicalnetworking.net/stand-alone/vlans/
2020-04-11 16:37:30 baskar Breaking up one Physical Switch into multiple Virtual Switches
2020-04-11 16:38:37 mohan43u i'm ending my talk.. the floor is open.. thanks guys..
2020-04-11 16:38:47 mbuf mohan43u, thanks!
2020-04-11 16:39:03 Ravisankar ?
2020-04-11 16:39:23 mohan43u Ravisankar: yes
2020-04-11 16:39:25 protocol255 !
2020-04-11 16:39:42 Ravisankar shall i ask questions not related to today agenda?
2020-04-11 16:39:55 mbuf Let's end the meeting, and we can freely have discussions.
2020-04-11 16:40:19 mohan43u Ravisankar: you can ask query directly..
2020-04-11 16:40:20 protocol255 mohan43u: what is tagged vlan and untagged vlan? Could you explain in brief?
2020-04-11 16:40:22 mbuf The protocol is only during the meeting, so that the hindrance to the speaker is minimized.
2020-04-11 16:40:35 baskar thanks mbuf and monah43u for your useful presentations
2020-04-11 16:40:44 mbuf protocol255, how many users did meet.jit.si for the ILUG-D meet?
2020-04-11 16:41:07 mbuf *meet.jit.si host
2020-04-11 16:41:17 protocol255 mbuf: i think around 10-20 range
2020-04-11 16:41:20 baskar nearly some 20
2020-04-11 16:41:40 mbuf baskar, quantity does not mean quantity; everyone will have suggestions, but, very few deliver
2020-04-11 16:42:03 mohan43u protocol255: I know only about tagged vlan.. you actually insert one ID into the ethernet frame in every outgoing packet.. so that the other end device.. when it receives.. if it is not configured for that vlan tag, it will just simply ignore..
2020-04-11 16:42:04 mbuf shrini, you might want to search online for IRC bouncer setup. See https://en.wikipedia.org/wiki/BNC_(software), and https://opensource.com/article/17/4/never-leave-irc-again
2020-04-11 16:42:04 protocol255 baskar: I noticed basker asking some questions on kicad session
2020-04-11 16:42:15 mbuf okay
2020-04-11 16:42:30 baskar yes, i was in the KiCAD session
2020-04-11 16:42:33 mohan43u protocol255: if the other end device is configured to listen for that vlan tag.. then it will process that packet further..
2020-04-11 16:42:56 Ravisankar my question: in my school, i have a monitor in working condition, but no cpu, so i thought to make the monitor as a tv.. is there a way to achieve this
2020-04-11 16:43:48 protocol255 mohan43u: How it is represented tagged and untagged ?
2020-04-11 16:44:26 protocol255 mohan43u: i remember vlan id 0 is untagged and used only for remote network management
2020-04-11 16:44:27 mohan43u protocol255: I dont know about untagged (it may mean.. that ethernet packet with vlan-id=0 means untagged)
2020-04-11 16:44:41 mohan43u protocol255: yes..
2020-04-11 16:44:43 baskar Is the monitor old one having only VGA, or does it have HDMI connector
2020-04-11 16:44:55 protocol255 mohan43u: thanks, useful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment