Skip to main content


Add Virtual Link - Ubuntu 14.04

Here I am assuming that your Ubuntu machine is up and running and having a
physical interface eth0.
Add Virtual Link
$ ip link add name veth1 link eth0 type macvlan mode bridge
It will add the virtual interface veth1 without any Ip address.
Add the ip address
To add the ip address to newly created virtual link run below command
Note: Here I am assuming that you are having DHCP server configured,
If not you can manually assign the static IP address to veth1.
$ dhclient -v veth1
This command will assign the random IP address to veth1


Comments

Popular posts from this blog

Running Salt Master In Docker Container From Scratch  In this post, we will install salt master in docker container and configure the public IP so it will be reachable from outside. Prerequisites:     Ubuntu host up and running. Public IP should be configured. Docker should be installed. Skip to end of metadata Go to start of metadat Pull Ubuntu docker image $  docker pull   ubuntu:14.04.5 It will download the Ubuntu docker image. Create a container for salt master $  docker run -ti --name salt-master-server   --net=none --privileged=true ubuntu:14.04.5 bash This will create a container, we will use the same container to install salt master. Now configure the network for this container. Assigning an IP for a container Here I am assuming that host machine is having interface "eth0" with public IP configured.  Name of the container is salt-master-server.  The below steps needs to be per...
How To Run Salt-Master In Docker Container In this post we will use a Ubuntu based docker image in which I have already installed the salt-master and  uploaded it into docker hub. If you are looking for installing the salt-master in docker container from scratch then check out  this guide . Here I am assuming that you are having Ubuntu host up and running with public IP configured on it. Skip to end of metadata Go to start of metadata Pull the docker image $ docker pull yogeshprasadkurmi/ubuntu-salt-master This is a Ubuntu 14.04.5 based image with salt-master installed on it. Salt-master will be up and running if you create the container using this images. Create Salt-master Server $ docker run -ti --name salt-master-server  --net=none --privileged=true yogeshprasadkurmi/ubuntu-salt-master bash This will create a container with salt-master installed on it. Assigning an IP for a container Here I am assuming that host m...

Citizenship Amendment Act

The Citizenship Amendment Bill has now become the Citizenship Amendment Act.  Protests Against It There have been massive protests against it in different corners of the country In Assam,   in the rest of the north eastern states, in West Bengal, Kerala, Karnataka, Uttar Pradesh, and even in Delhi, protests took place Most of the protests were non violent and peaceful but violence erupted in some places like the West Bengal, where a train was set on fire For instance in   Delhi, where some buses were set on fire. Appeal to Peoples  I'd like to say that, all the people who are protesting, you need to be extra sure to ensure that all the protests remain non-violent because you are going to gain nothing out of setting fire to public property What will happen is that, when any protest turns violent, you will not only lose public support but the government will get another excuse to use the police force against you more brutally, to attack you, to fi...